diff --git a/lib/src/git.rs b/lib/src/git.rs index fcfc3cf7c6..9949e9930f 100644 --- a/lib/src/git.rs +++ b/lib/src/git.rs @@ -603,7 +603,7 @@ fn update_git_ref( } else { // The branch was added in jj but still doesn't exist in git, so add it git_repo - .reference(git_ref_name, new_oid, true, "export from jj") + .reference(git_ref_name, new_oid, false, "export from jj") .map_err(FailedRefExportReason::FailedToSet)?; } }