summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ab02dfe)
raw | patch | inline | side by side (parent: ab02dfe)
author | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 13 Jul 2008 22:06:31 +0000 (22:06 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 13 Jul 2008 23:40:23 +0000 (16:40 -0700) |
If the user is trying to complete "v1.5.3.<tab>" to see all of
the available maintenance releases for 1.5.3 we should not give
them an extra dot as the completion. Instead if the user wants
a ".." or a "..." operator they should key the two dots out on
their own. Its the same number of keystrokes either way.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
the available maintenance releases for 1.5.3 we should not give
them an extra dot as the completion. Instead if the user wants
a ".." or a "..." operator they should key the two dots out on
their own. Its the same number of keystrokes either way.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash | patch | blob | history |
index 0734ea313c0f0103ad339ab49229636d49d5e99d..821c9a7f9f2b78f46c2f9ea87da72ff961c2cf9b 100755 (executable)
cur="${cur#*..}"
__gitcomp "$(__git_refs)" "$pfx" "$cur"
;;
- *.)
- __gitcomp "$cur."
- ;;
*)
__gitcomp "$(__git_refs)"
;;