diff options
author | Oswald Buddenhagen <oswald.buddenhagen@qt.io> | 2014-10-08 19:41:54 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@gmx.de> | 2020-03-05 18:07:07 +0000 |
commit | 351e37ab23c7345f410d620cbe1e76c2d32f1f3f (patch) | |
tree | 4259a5d071dd00e153a9028b39fd74686c03b3b6 /bin/git-gpush | |
parent | 8df45087d7b9d67e01de3ff7163acf8bb32e3cb1 (diff) | |
download | qtrepotools-351e37ab23c7345f410d620cbe1e76c2d32f1f3f.tar.gz |
add git-gpick tool
this tool complements the gpush tool in that it provides a convenient
way to synchronize with gerrit.
this first version just sheepishly replaces the named local commits with
the current patchset from gerrit.
Change-Id: I21f8ef385d1793757149dfa5cc69e4e907cb1c04
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'bin/git-gpush')
-rwxr-xr-x | bin/git-gpush | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/git-gpush b/bin/git-gpush index e583ac5..9b67285 100755 --- a/bin/git-gpush +++ b/bin/git-gpush @@ -740,7 +740,7 @@ sub print_errors($) fail_push($group, "Giving up - push is going to be rejected.\n") if ($have_rejected); fail_push($group, "Local state is out of sync with Gerrit.\n", - "Please specify --force to push nonetheless.\n") + "Please use git gpick, or specify --force to push nonetheless.\n") if ($need_force && !$force); } @@ -924,6 +924,6 @@ sub execute_pushing() process_config(); parse_arguments(@ARGV); goto_gitdir(); -load_state(); +load_state(0); execute_pushing(); save_state($dry_run); |