summaryrefslogtreecommitdiff
path: root/contrib/completion/git-completion.bash
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-06-03 11:18:54 -0700
committerJunio C Hamano <gitster@pobox.com>2019-06-03 11:18:54 -0700
commit4a787f72f504ae1429f24997a09ad6bac5cb4332 (patch)
treeb016f675d72eaf82f1785a1a7d411470b94d93f5 /contrib/completion/git-completion.bash
parent8a1569d655f599e803046de193b46a3d1d202b97 (diff)
parente693237e2ba27b6129e8af7f6a794f5c2fbd26f3 (diff)
downloadgit-4a787f72f504ae1429f24997a09ad6bac5cb4332.tar.xz
Merge branch 'cc/list-objects-filter-wo-sparse-path'
Disable "--filter=sparse:path=<path>" that would allow reading from paths on the filesystem. * cc/list-objects-filter-wo-sparse-path: list-objects-filter: disable 'sparse:path' filters
Diffstat (limited to 'contrib/completion/git-completion.bash')
-rw-r--r--contrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 3eefbabdb1..9f71bcde96 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1536,7 +1536,7 @@ _git_fetch ()
return
;;
--filter=*)
- __gitcomp "blob:none blob:limit= sparse:oid= sparse:path=" "" "${cur##--filter=}"
+ __gitcomp "blob:none blob:limit= sparse:oid=" "" "${cur##--filter=}"
return
;;
--*)