diff options
author | Oswald Buddenhagen <oswald.buddenhagen@gmx.de> | 2020-04-17 20:01:04 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@gmx.de> | 2020-04-20 15:11:42 +0000 |
commit | 87fe1acc57b2065b72b44e61d255898984e12fd3 (patch) | |
tree | 6f38272393e1e31afc8848d64db554027d63d055 /bin | |
parent | d9f2c9de560d2671670df2b99fd0281a558a1ca1 (diff) | |
download | qtrepotools-87fe1acc57b2065b72b44e61d255898984e12fd3.tar.gz |
gpick: give more intuitive message on --all with no local Changes
amends b215b694.
Change-Id: Ida3d5af4d9ee0ff08498da6bbedf4a2c045fc42c
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/git-gpick | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/git-gpick b/bin/git-gpick index 9d393d8..c7cda46 100755 --- a/bin/git-gpick +++ b/bin/git-gpick @@ -2226,6 +2226,11 @@ sub prepare_specs_all($) { my ($raw_changes) = @_; + if (!@$raw_changes) { + print "No local Changes.\n" if (!$quiet); + exit(0); + } + # Before we can iterate the local series, we need to make sure that # they are actually assigned. For this to work we first resolve a # fake spec which causes the corresponding remote series for all |