Files
git/Documentation
Jonathan Nieder e62b393505 Show usage string for 'git show-ref -h'
This only changes the behavior of "git show-ref -h" without any
other options and arguments.

"show-ref -h" currently is short for "show-ref --head", which
shows all the refs/* and HEAD, as opposed to "show-ref" that
shows all the refs/* and not HEAD.

Does anybody use "show-ref -h"?  It was in Linus's original, most
likely only because "it might be handy", not because "the command
should not show the HEAD by default for such and such reasons".
So I think it is okay if "show-ref -h" (but not "show-ref
--head") gives help and exits.

If a current script uses "git show-ref -h" without any other
arguments, it would have to be adapted by changing "-h" to
"--head".

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2009-11-09 17:08:53 -08:00
..
2009-10-01 08:21:35 -04:00
2009-10-25 18:40:20 -07:00
2009-04-06 00:27:09 -07:00
2009-07-22 21:54:54 -07:00
2009-04-18 14:45:59 -07:00
2009-10-30 20:05:47 -07:00
2009-10-18 22:44:22 -07:00
2009-08-15 15:17:47 -07:00
2009-08-12 16:36:04 -07:00
2009-10-25 18:38:56 -07:00
2009-10-30 20:05:54 -07:00
2008-12-16 22:06:47 -08:00
2008-12-16 22:08:28 -08:00
2008-12-16 22:13:36 -08:00
2008-08-24 14:47:24 -07:00
2008-10-21 13:37:42 -07:00
2008-12-07 15:11:54 -08:00
2008-12-19 19:27:35 -08:00
2009-02-07 00:51:47 -08:00
2009-05-03 15:29:31 -07:00
2008-12-24 19:41:08 -08:00
2009-03-15 13:05:05 -07:00
2009-04-02 12:34:16 -07:00
2009-04-12 15:57:58 -07:00
2009-04-19 17:34:26 -07:00
2009-05-03 16:54:14 -07:00
2009-03-03 23:37:19 -08:00
2009-05-12 22:30:29 -07:00
2009-06-03 22:47:48 -07:00
2009-06-21 21:15:50 -07:00
2009-07-28 23:59:30 -07:00
2009-05-06 18:16:40 -07:00
2009-08-21 20:16:10 -07:00
2009-08-29 14:31:01 -07:00
2009-09-13 01:28:13 -07:00
2009-09-16 14:53:26 -07:00
2009-07-29 00:32:42 -07:00
2009-10-16 23:57:19 -07:00
2009-10-25 18:37:56 -07:00
2009-10-10 00:05:19 -07:00