mirror of
https://github.com/martinvonz/jj.git
synced 2024-11-28 17:41:14 +00:00
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:
parent
d481001271
commit
55a7621c45
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue