projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81caacc
)
gcc-changelog: checkout & pull order
author
Martin Liska
<mliska@suse.cz>
Thu, 18 Jun 2020 12:44:04 +0000
(14:44 +0200)
committer
Martin Liska
<mliska@suse.cz>
Thu, 18 Jun 2020 12:45:39 +0000
(14:45 +0200)
contrib/ChangeLog:
* gcc-changelog/git_update_version.py: First checkout and then
run git pull ---rebase.
contrib/gcc-changelog/git_update_version.py
patch
|
blob
|
history
diff --git
a/contrib/gcc-changelog/git_update_version.py
b/contrib/gcc-changelog/git_update_version.py
index
7077880
..
ac1b206
100755
(executable)
--- a/
contrib/gcc-changelog/git_update_version.py
+++ b/
contrib/gcc-changelog/git_update_version.py
@@
-137,8
+137,8
@@
else:
else:
branch = repo.create_head(name, ref).set_tracking_branch(ref)
print('=== Working on: %s ===' % branch, flush=True)
- origin.pull(rebase=True)
branch.checkout()
+ origin.pull(rebase=True)
print('branch pulled and checked out')
update_current_branch()
assert not repo.index.diff(None)