summaryrefslogtreecommitdiff
path: root/ws.c
diff options
context:
space:
mode:
authorDmitry Potapov <dpotapov@gmail.com>2008-10-11 20:39:37 +0400
committerShawn O. Pearce <spearce@spearce.org>2008-10-12 12:36:19 -0700
commit7e7abea96b8140c592a46293f5e33aae0683c7ac (patch)
tree316f1572ee0d7e51bae66b88a61a4120f1e34616 /ws.c
parent616ab43737558b4e589104432a16cf9f331ac457 (diff)
downloadgit-7e7abea96b8140c592a46293f5e33aae0683c7ac.tar.gz
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 'ws.c')
0 files changed, 0 insertions, 0 deletions