author | Linus Torvalds <torvalds@linux-foundation.org> | |
Thu, 6 Mar 2008 03:44:06 +0000 (19:44 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 9 Mar 2008 08:43:47 +0000 (00:43 -0800) | ||
commit | 5803c6f8a2faf8cfbbd046d9ebd682b82bb2b086 | |
tree | 4f586a9a7d7735115167257b023ac9e7fc01869d | tree | snapshot |
parent | 40d934df72eaf244c826d5c26da0896ce7185cb6 | commit | diff |
Add return value to 'traverse_tree()' callback
This allows the callback to return an error value, but it can also
specify which of the tree entries that it actually used up by returning
a positive mask value.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This allows the callback to return an error value, but it can also
specify which of the tree entries that it actually used up by returning
a positive mask value.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
merge-tree.c | diff | blob | history | |
tree-walk.c | diff | blob | history | |
tree-walk.h | diff | blob | history |