aboutsummaryrefslogtreecommitdiff
path: root/builtin-tar-tree.c
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2009-12-12 16:00:41 +0100
committerJunio C Hamano <gitster@pobox.com>2009-12-30 00:47:00 -0800
commitd5f53d6d6f20bbd1ec5507824eb213463554b36a (patch)
treee1b9a40853468f31d1e93adb15197354d73a768e /builtin-tar-tree.c
parent902f235378cb2b2f6dd5dd664b9630c95321f0ae (diff)
downloadgit-d5f53d6d6f20bbd1ec5507824eb213463554b36a.tar.gz
git-d5f53d6d6f20bbd1ec5507824eb213463554b36a.tar.xz
archive: complain about path specs that don't match anything
Verify that all path specs match at least one path in the specified tree and reject those that don't. This would have made the bug fixed by 782a0005 easier to find. This implementation is simple to the point of being stupid. It walks the full tree for each path spec until it matches something. It's short and seems to be fast enough, though. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-tar-tree.c')
0 files changed, 0 insertions, 0 deletions