bash: complete *_HEAD refs if present
authorIan Ward Comfort <icomfort@stanford.edu>
Wed, 17 Mar 2010 09:20:35 +0000 (02:20 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Mar 2010 18:03:44 +0000 (11:03 -0700)
commitd23e7570a764d5e3fd033b7586bb4924d2774370
tree12c374ddbde761eb2adf49e59dbdc3a5b3462b26
parent7325283987430f94712713313c5089e5143f2e17
bash: complete *_HEAD refs if present

We already complete HEAD, of course, and might as well complete the other
common refs mentioned in the rev-parse man page: FETCH_HEAD, ORIG_HEAD, and
MERGE_HEAD.

Signed-off-by: Ian Ward Comfort <icomfort@stanford.edu>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash