commands: fix a formatting error

I had fixed this in the working copy but forgot to `git add` it. I'm
not used to Git's staging area yet...
This commit is contained in:
Martin von Zweigbergk 2020-12-27 17:07:13 -08:00
parent d481001271
commit 55a7621c45

View File

@ -1950,7 +1950,9 @@ fn cmd_git_push(
let store = repo.store().clone();
let mut_repo = Arc::get_mut(&mut repo).unwrap();
let git_repo = store.git_repo().ok_or_else(|| {
CommandError::UserError("git push can only be used on repos back by a git repo".to_string())
CommandError::UserError(
"git push can only be used in repos backed by a git repo".to_string(),
)
})?;
let commit = resolve_revision_arg(ui, mut_repo, cmd_matches)?;
let remote_name = cmd_matches.value_of("remote").unwrap();