summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 233808d)
raw | patch | inline | side by side (parent: 233808d)
author | Dan McGee <dpmcgee@gmail.com> | |
Sun, 20 Jan 2008 06:54:57 +0000 (00:54 -0600) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 20 Jan 2008 07:06:02 +0000 (23:06 -0800) |
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash | patch | blob | history |
index 9b0033d17c3759daca66349d6ceb75bdee47f939..0d33f9a3dc9d5a593ce2691ab850ba1e38aa32de 100755 (executable)
while [ $c -lt $COMP_CWORD ]; do
i="${COMP_WORDS[c]}"
case "$i" in
- add|show|prune|update) command="$i"; break ;;
+ add|rm|show|prune|update) command="$i"; break ;;
esac
c=$((++c))
done
if [ $c -eq $COMP_CWORD -a -z "$command" ]; then
- __gitcomp "add show prune update"
+ __gitcomp "add rm show prune update"
return
fi
case "$command" in
- show|prune)
+ rm|show|prune)
__gitcomp "$(__git_remotes)"
;;
update)