summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Completion/Unix/Command/_git2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index efe7bbb26..383f36111 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-03 Frank Terbeck <ft@bewatermyfriend.org>
+
+ * Holger Weiss: 27977: Completion/Unix/Command/_git: shouldn't
+ return 0 if there are no matches.
+
2010-06-02 Peter Stephenson <pws@csr.com>
* 27990: Src/Modules/termcap.c (not in original patch),
@@ -13189,5 +13194,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4988 $
+* $Revision: 1.4989 $
*****************************************************
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index aef5e7c68..cb06d5703 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -4471,11 +4471,13 @@ if [[ $service == git ]]; then
else
curcontext="${curcontext%:*:*}:git-$words[1]:"
_call_function ret _git-$words[1]
+ return ret
fi
;;
esac
else
_call_function ret _$service
+ return ret
fi
}