author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | |
Mon, 14 Jul 2008 19:22:12 +0000 (21:22 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 15 Jul 2008 14:17:59 +0000 (07:17 -0700) | ||
commit | 671f0707212c929533dc6ec9e032faee328e4602 | |
tree | dbee94a8ff126713d0bb3f72321392e38a66c55e | tree | snapshot |
parent | 34533004b27df4f34e18d9e26832fcc956a39fca | commit | diff |
add context pointer to read_tree_recursive()
Add a pointer parameter to read_tree_recursive(), which is passed to the
callback function. This allows callers of read_tree_recursive() to
share data with the callback without resorting to global variables. All
current callers pass NULL.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Add a pointer parameter to read_tree_recursive(), which is passed to the
callback function. This allows callers of read_tree_recursive() to
share data with the callback without resorting to global variables. All
current callers pass NULL.
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive-tar.c | diff | blob | history | |
archive-zip.c | diff | blob | history | |
builtin-checkout.c | diff | blob | history | |
builtin-log.c | diff | blob | history | |
builtin-ls-tree.c | diff | blob | history | |
builtin-merge-recursive.c | diff | blob | history | |
tree.c | diff | blob | history | |
tree.h | diff | blob | history |