author | Junio C Hamano <junkio@cox.net> | |
Tue, 6 Dec 2005 06:29:05 +0000 (22:29 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 6 Dec 2005 06:29:05 +0000 (22:29 -0800) | ||
commit | 9c2e7c0ca240e1508871cd22f2ee380f52d69a53 | |
tree | 654f05228ce081d14bfb7c42f2cc1358a81e3e4f | tree | snapshot |
parent | 61f693bd5a2ab4d830aad6fce0a1c70863f38009 | commit | diff |
hash-object: -- and --help
It was cumbersome to feed hash-object the file '-t' (you could
have said "./-t", though). Teach it '--' that terminates the
option list, like everybody else. There is no way to extract
usage string from the command either, so teach it "--help" as
well.
Signed-off-by: Junio C Hamano <junkio@cox.net>
It was cumbersome to feed hash-object the file '-t' (you could
have said "./-t", though). Teach it '--' that terminates the
option list, like everybody else. There is no way to extract
usage string from the command either, so teach it "--help" as
well.
Signed-off-by: Junio C Hamano <junkio@cox.net>
hash-object.c | diff | blob | history |