1
0
Fork 0

Fixed git-describe completion.

pull/1/merge
Sorin Ionescu 14 years ago
parent 4622781122
commit 7c21432102

@ -589,7 +589,7 @@ _git-commit () {
(( $+functions[_git-describe] )) ||
_git-describe () {
_arguments -w -S -s \
'(*)--dirty=-[describe HEAD, adding mark if dirty]::mark'
'(*)--dirty=-[describe HEAD, adding mark if dirty]::mark' \
'--all[use any ref found in "$GIT_DIR/refs/"]' \
'--tags[use any ref found in "$GIT_DIR/refs/tags"]' \
'(--tags)--contains[find the tag after the commit instead of before]' \

Loading…
Cancel
Save