summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: efe47f8)
raw | patch | inline | side by side (parent: efe47f8)
author | SZEDER Gábor <szeder@ira.uka.de> | |
Thu, 24 Sep 2009 12:23:15 +0000 (14:23 +0200) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Fri, 25 Sep 2009 21:48:35 +0000 (14:48 -0700) |
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
contrib/completion/git-completion.bash | patch | blob | history |
index 6fd7e1d329262162a1d9e0b45d79870a03524f99..2c2a0d4614a5180a08adfa59414d06fdbe7754f0 100755 (executable)
{
__git_has_doubledash && return
- __gitcomp "$(__git_refs)"
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ case "$cur" in
+ --conflict=*)
+ __gitcomp "diff3 merge" "" "${cur##--conflict=}"
+ ;;
+ --*)
+ __gitcomp "
+ --quiet --ours --theirs --track --no-track --merge
+ --conflict= --patch
+ "
+ ;;
+ *)
+ __gitcomp "$(__git_refs)"
+ ;;
+ esac
}
_git_cherry ()