mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-01 11:49:01 +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 store = repo.store().clone();
|
||||||
let mut_repo = Arc::get_mut(&mut repo).unwrap();
|
let mut_repo = Arc::get_mut(&mut repo).unwrap();
|
||||||
let git_repo = store.git_repo().ok_or_else(|| {
|
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 commit = resolve_revision_arg(ui, mut_repo, cmd_matches)?;
|
||||||
let remote_name = cmd_matches.value_of("remote").unwrap();
|
let remote_name = cmd_matches.value_of("remote").unwrap();
|
||||||
|
|
Loading…
Reference in a new issue