diff options
author | Andreas Ericsson <ae@op5.se> | 2006-11-30 12:28:28 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-01 21:55:45 -0800 |
commit | ced7b828fadbf3d6de49d75392f1516b4ceb4491 (patch) | |
tree | d316e234ab2c58ef4667786cf733d6a4893dcfd6 /builtin-diff.c | |
parent | pack-objects: remove redundent status information (diff) | |
download | tgif-ced7b828fadbf3d6de49d75392f1516b4ceb4491.tar.xz |
ls-files: Give hints when errors happen.
Without this patch "git commit file.c file2.c" produces the not
so stellar output:
error: pathspec 'file.c' did not match any.
error: pathspec 'file2.c' did not match any.
With this patch, the output is changed to:
error: pathspec 'file.c' did not match any file(s) known to git.
error: pathspec 'file2.c' did not match any file(s) known to git.
Did you forget to 'git add'?
Signed-off-by: Andreas Ericsson <ae@op5.se>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-diff.c')
0 files changed, 0 insertions, 0 deletions