diff options
author | Paul Mackerras <paulus@samba.org> | 2006-04-25 10:00:03 +1000 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-04-24 22:22:29 -0700 |
commit | 3e1a70d925b46b9eac1ae523589298ddb6e295af (patch) | |
tree | 6e5a35a758df6fd90c0fde02d042107f8c19682b /Documentation/diffcore.txt | |
parent | git-log produces no output (diff) | |
download | tgif-3e1a70d925b46b9eac1ae523589298ddb6e295af.tar.xz |
rev-parse: better error message for ambiguous arguments
Currently, if git-rev-parse encounters an argument that is neither a
recognizable revision name nor the name of an existing file or
directory, and it hasn't encountered a "--" argument, it prints an
error message saying "No such file or directory". This can be
confusing for users, including users of programs such as gitk that
use git-rev-parse, who may then think that they can't ask about the
history of files that no longer exist.
This makes it print a better error message, one that points out the
ambiguity and tells the user what to do to fix it.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'Documentation/diffcore.txt')
0 files changed, 0 insertions, 0 deletions