author | Linus Torvalds <torvalds@linux-foundation.org> | |
Thu, 6 Mar 2008 23:44:48 +0000 (15:44 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 9 Mar 2008 08:43:47 +0000 (00:43 -0800) | ||
commit | bcbe5a515e837873f24dc9a764fa31e3ade45bb5 | |
tree | 8f32dd713d0b8a6798795632aba83cac6f8424d2 | tree | snapshot |
parent | 01904572a5cf869983fab454f552542f16b1fe1f | commit | diff |
Fix tree-walking compare_entry() in the presense of --prefix
When we make the "root" tree-walk info entry have a pathname in it, we
need to have a ->prev pointer so that compare_entry will actually notice
and traverse into the root.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When we make the "root" tree-walk info entry have a pathname in it, we
need to have a ->prev pointer so that compare_entry will actually notice
and traverse into the root.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
tree-walk.c | diff | blob | history |