zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] _git-cat-file: Fix regression in 36237
@ 2015-08-27 22:45 Daniel Shahaf
  0 siblings, 0 replies; only message in thread
From: Daniel Shahaf @ 2015-08-27 22:45 UTC (permalink / raw)
  To: zsh-workers

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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-08-27 22:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-27 22:45 [PATCH] _git-cat-file: Fix regression in 36237 Daniel Shahaf

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).