commit | 7a3dd472ad2c69b7450a59eb2a35efb0698993d0 | [log] [tgz] |
---|---|---|
author | Linus Torvalds <torvalds@osdl.org> | Tue Oct 18 00:16:45 2005 -0700 |
committer | Junio C Hamano <junkio@cox.net> | Tue Oct 18 00:16:45 2005 -0700 |
tree | 62492363d710bbd6b532cbecf74f8743d8e87099 | |
parent | cdb3950801fec8e9efa1607093a6e51737bacba0 [diff] |
Avoid ambiguity between refname and filename in rev-parse Although it really is very convenient, not requiring explicit '-r' option to name revs is sometimes ambiguous. Usually we allow a "--" to say where a filename starts when it _is_ ambiguous. However, we fail that at times. In particular, git-rev-parse fails it. Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Junio C Hamano <junkio@cox.net>