Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] _git-cat-file: Fix regression in 36237
- X-seq: zsh-workers 36304
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] _git-cat-file: Fix regression in 36237
- Date: Thu, 27 Aug 2015 22:45:49 +0000
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=/tR ZQQRf31KgP99Y16mLTZrt80s=; b=ceNsayHLmsDAUmrzy+CTknj8EqwbhKUyI3P 0kkoDyMMZT9V7PsgJFdQpinfcGTctiVb44OWTeZiiEzvYr9q5tKpWTXZhMqJ48mj wXRrs2WnZJBU13VEvEhQ6+YUeO/2743HC+eGPPea0YsO479LuaMDv7BTZk0l18im 2GaAF9SA=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=/t RZQQRf31KgP99Y16mLTZrt80s=; b=SqeuS3SbPN9ErwrIf0xkgxS+xBcUTCjXtC 4LvcAOf2zFeueJA+6L9QRcIk6Kxh24f/NZkCN7IOQe5Z86yeUKpCvIOG77GQhtYN e9gfnQZWuBY6R8yWBj2QXtibz/sW50HTvnHDhb0UzPnFoI6jB0yYBaR3Cmf2OJv3 gZXfSI3UE=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
This broke 'git cat-file blob origin:Etc/<TAB>'.
diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git
index a096007..7409699 100644
--- a/Completion/Unix/Command/_git
+++ b/Completion/Unix/Command/_git
@@ -6008,6 +6008,7 @@ __git_tree_files () {
if [[ $1 == --root-relative ]]; then
extra_args+=(--full-tree)
+ shift
fi
zparseopts -D -E -a compadd_opts V: J: 1 2 n f X: M: P: S: r: R: q F:
Messages sorted by:
Reverse Date,
Date,
Thread,
Author