]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/checkout.c
add context pointer to read_tree_recursive()
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Mon, 14 Jul 2008 19:22:12 +0000 (21:22 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Jul 2008 14:17:59 +0000 (07:17 -0700)
commit671f0707212c929533dc6ec9e032faee328e4602
treedbee94a8ff126713d0bb3f72321392e38a66c55e
parent34533004b27df4f34e18d9e26832fcc956a39fca
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>
archive-tar.c
archive-zip.c
builtin-checkout.c
builtin-log.c
builtin-ls-tree.c
builtin-merge-recursive.c
tree.c
tree.h