git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
a25014b
)
completion: complete merge-base options
author
John Keeping
<redacted>
Sat, 11 Jan 2014 14:27:12 +0000
(14:27 +0000)
committer
Junio C Hamano
<redacted>
Mon, 13 Jan 2014 22:20:25 +0000
(14:20 -0800)
Signed-off-by: John Keeping <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/completion/git-completion.bash
patch
|
blob
|
history
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index 4fe5ce31bd99e5c5307761c947d4661241ec3c24..e74d4024233376dd8ed70cddc7708303ce4de21b 100644
(file)
--- a/
contrib/completion/git-completion.bash
+++ b/
contrib/completion/git-completion.bash
@@
-1499,6
+1499,12
@@
_git_mergetool ()
_git_merge_base ()
{
+ case "$cur" in
+ --*)
+ __gitcomp "--octopus --independent --is-ancestor --fork-point"
+ return
+ ;;
+ esac
__gitcomp_nl "$(__git_refs)"
}
git clone https://git.99rst.org/PROJECT