Skip to content

Commit 52fa352

Browse files
committed
[update-checkout] When pulling with a git repo, use --rebase to help people follow the current git workflow (i.e. rebase instead of merge).
When/if that policy changes, we can remove this.
1 parent c29236c commit 52fa352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/update-checkout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def update_working_copy(repo_path):
4848
if os.path.isdir(os.path.join(".git", "svn")):
4949
update_git_svn(repo_path)
5050
elif os.path.isdir(".git"):
51-
check_call([ "git", "pull" ])
51+
check_call([ "git", "pull", "--rebase" ])
5252
else:
5353
check_call([ "svn", "update" ])
5454

0 commit comments

Comments
 (0)