diff options
author | Dmitry Potapov <dpotapov@gmail.com> | 2008-10-11 20:39:37 +0400 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2008-10-12 23:36:19 +0400 |
commit | 7e7abea96b8140c592a46293f5e33aae0683c7ac (patch) | |
tree | 316f1572ee0d7e51bae66b88a61a4120f1e34616 /dir.c | |
parent | 616ab43737558b4e589104432a16cf9f331ac457 (diff) |
print an error message for invalid path
If verification of path failed, it is always better to print an
error message saying this than relying on the caller function to
print a meaningful error message (especially when the callee already
prints error message for another situation).
Because the callers of add_index_entry_with_check() did not print
any error message, it resulted that the user would not notice the
problem when checkout of an invalid path failed.
Signed-off-by: Dmitry Potapov <dpotapov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'dir.c')
0 files changed, 0 insertions, 0 deletions