summaryrefslogtreecommitdiff
path: root/contrib/completion/git-completion.bash
diff options
context:
space:
mode:
authorLibravatar Lee Marlow <lee.marlow@gmail.com>2008-12-10 12:39:17 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-01-10 17:37:58 -0800
commitc9a114b591e42be3ed8e5e4812dfd1031df79a78 (patch)
tree5ae34685d4b9846a1b61bc065ab968f9b724fd48 /contrib/completion/git-completion.bash
parentfilter-branch: add git_commit_non_empty_tree and --prune-empty. (diff)
downloadtgif-c9a114b591e42be3ed8e5e4812dfd1031df79a78.tar.xz
bash completion: Add '--intent-to-add' long option for 'git add'
Signed-off-by: Lee Marlow <lee.marlow@gmail.com> Trivially-Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/completion/git-completion.bash')
-rwxr-xr-xcontrib/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 8ec782dc54..e986e783e2 100755
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -563,7 +563,7 @@ _git_add ()
--*)
__gitcomp "
--interactive --refresh --patch --update --dry-run
- --ignore-errors
+ --ignore-errors --intent-to-add
"
return
esac