diff options
author | Martin Liska <mliska@suse.cz> | 2020-06-18 14:44:04 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2020-06-18 14:45:39 +0200 |
commit | 9b4bdaf794a57378b02169849e5db95b122cf518 (patch) | |
tree | 135dd06c81d9f3f7bb58b7c9670e8409695fbfa8 /contrib | |
parent | 81caacc273399c91ae3182021ad87bc2ba786039 (diff) | |
download | gcc-9b4bdaf794a57378b02169849e5db95b122cf518.tar.gz |
gcc-changelog: checkout & pull order
contrib/ChangeLog:
* gcc-changelog/git_update_version.py: First checkout and then
run git pull ---rebase.
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/gcc-changelog/git_update_version.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc-changelog/git_update_version.py b/contrib/gcc-changelog/git_update_version.py index 7077880cf80..ac1b206d238 100755 --- 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) |