From 87fe1acc57b2065b72b44e61d255898984e12fd3 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Fri, 17 Apr 2020 20:01:04 +0200 Subject: gpick: give more intuitive message on --all with no local Changes amends b215b694. Change-Id: Ida3d5af4d9ee0ff08498da6bbedf4a2c045fc42c Reviewed-by: Alexandru Croitor Reviewed-by: Oswald Buddenhagen --- bin/git-gpick | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin') 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 -- cgit v1.2.1