summaryrefslogtreecommitdiff
path: root/test-sha1.sh
diff options
context:
space:
mode:
authorStephen Boyd <bebarino@gmail.com>2009-10-08 23:21:43 -0700
committerJunio C Hamano <gitster@pobox.com>2009-10-09 15:00:24 -0700
commit427e586b197c94961b548c8a25ed721651fc335e (patch)
treea3821cade73b5b89d71d369b9ddf1c0a90a1cd96 /test-sha1.sh
parentb6aaaa4470ef578add390bb60292ed9b4cb4af3c (diff)
downloadgit-427e586b197c94961b548c8a25ed721651fc335e.tar.gz
completion: fix completion of git <TAB><TAB>
After commit 511a3fc (wrap git's main usage string., 2009-09-12), the bash completion for git commands includes COMMAND and [ARGS] when it shouldn't. Fix this by grepping more strictly for a line with git commands. It's doubtful whether git will ever have commands starting with anything besides numbers and letters so this should be fine. At least by being stricter we'll know when we break the completion earlier. Signed-off-by: Stephen Boyd <bebarino@gmail.com> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-sha1.sh')
0 files changed, 0 insertions, 0 deletions