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