author | Linus Torvalds <torvalds@linux-foundation.org> | |
Sat, 19 Feb 2011 03:55:19 +0000 (19:55 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 19 Feb 2011 06:25:51 +0000 (22:25 -0800) | ||
commit | 11f944dd6bdabd003325c85dc60b16389d012361 | |
tree | f6d372789bdf6b1d32afeca5c9a59021e5ce5381 | tree | snapshot |
parent | 7ed863a85a6ce2c4ac4476848310b8f917ab41f9 | commit | diff |
for_each_hash: allow passing a 'void *data' pointer to callback
For the find_exact_renames() function, this allows us to pass the
diff_options structure pointer to the low-level routines. We will use
that to distinguish between the "rename" and "copy" cases.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
For the find_exact_renames() function, this allows us to pass the
diff_options structure pointer to the low-level routines. We will use
that to distinguish between the "rename" and "copy" cases.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/describe.c | diff | blob | history | |
diffcore-rename.c | diff | blob | history | |
hash.c | diff | blob | history | |
hash.h | diff | blob | history |