summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e8a43a1)
raw | patch | inline | side by side (parent: e8a43a1)
author | Lee Marlow <lee.marlow@gmail.com> | |
Wed, 23 Jul 2008 21:21:08 +0000 (15:21 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 24 Jul 2008 00:06:30 +0000 (17:06 -0700) |
Options added: --cached --dry-run --ignore-unmatch --quiet
Signed-off-by: Lee Marlow <lee.marlow@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Lee Marlow <lee.marlow@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash | patch | blob | history |
index 8fc9145282ccc0ff74140a5d50c91875a43948c4..e20d57a1ba82d9356630912f92d1cf1713309685 100755 (executable)
__gitcomp "$(__git_refs)"
}
+_git_rm ()
+{
+ __git_has_doubledash && return
+
+ local cur="${COMP_WORDS[COMP_CWORD]}"
+ case "$cur" in
+ --*)
+ __gitcomp "--cached --dry-run --ignore-unmatch --quiet"
+ return
+ ;;
+ esac
+ COMPREPLY=()
+}
+
_git_shortlog ()
{
__git_has_doubledash && return
rebase) _git_rebase ;;
remote) _git_remote ;;
reset) _git_reset ;;
+ rm) _git_rm ;;
send-email) _git_send_email ;;
shortlog) _git_shortlog ;;
show) _git_show ;;