Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] __git_tree_files shouldn't return 0 on error
- X-seq: zsh-workers 28016
- From: Holger Weiss <holger@xxxxxxxxxxxxxxxx>
- To: Zsh Workers <zsh-workers@xxxxxxx>
- Subject: [PATCH] __git_tree_files shouldn't return 0 on error
- Date: Wed, 9 Jun 2010 18:04:56 +0200
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: Zsh Workers <zsh-workers@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
If __git_tree_files wasn't able to add any tree, it should return != 0.
---
Completion/Unix/Command/_git | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index 82d6ee2..83132b6 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -2957,7 +2957,7 @@ __git_tree_files () {
done
if (( !at_least_one_tree_added )); then
- return
+ return 1
fi
local expl
--
Holger
Messages sorted by:
Reverse Date,
Date,
Thread,
Author