summaryrefslogtreecommitdiff
path: root/tree.c
diff options
context:
space:
mode:
authorLibravatar Alex Riesen <fork0@t-online.de>2006-07-25 01:23:03 +0200
committerLibravatar Junio C Hamano <junkio@cox.net>2006-07-24 17:32:22 -0700
commit57c7d9a7756f9c0165d0aa003eb8a05c08cd9fae (patch)
tree059aa505fb5c38272e9425c4d2b0f9c63ddc06b7 /tree.c
parentAlways reset the color _before_ printing out the newline (diff)
downloadtgif-57c7d9a7756f9c0165d0aa003eb8a05c08cd9fae.tar.xz
Trivial path optimization test
Linus: get_pathspec() does turn '.' into an empty string (which is correct - git internally does _not_ ever understand the notion of "." as the current working directory), but it doesn't ever do the optimization of noticing that a pathspec that consists solely of an empty string is "equivalent" to an empty pathspec. The test is to ensure that this behaviour stays. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'tree.c')
0 files changed, 0 insertions, 0 deletions