projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07424d2
)
git-update: Use --autosquash during pull --rebase
author
Nirbheek Chauhan
<nirbheek@centricular.com>
Tue, 8 Nov 2016 17:55:26 +0000
(23:25 +0530)
committer
Nirbheek Chauhan
<nirbheek@centricular.com>
Tue, 8 Nov 2016 18:00:16 +0000
(23:30 +0530)
This option has existed forever and allows people to automatically
update and autosquash/pop changes in subproject git repositories.
git-update
patch
|
blob
|
history
diff --git
a/git-update
b/git-update
index
ee65a23
..
a53d678
100755
(executable)
--- a/
git-update
+++ b/
git-update
@@
-46,7
+46,7
@@
def update_repo(repo_name, repo_dir, revision, no_interaction, recurse_i=0):
git("fetch", repository_path=repo_dir)
git("checkout", revision, repository_path=repo_dir)
else:
- git("pull", "--rebase", repository_path=repo_dir)
+ git("pull", "--rebase",
"--autostash",
repository_path=repo_dir)
except Exception as e:
out = getattr(e, "output", b"").decode()
if not no_interaction: