diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-03-04 15:02:27 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-03-04 15:02:27 -0800 |
commit | 24161eb036e140c964d278e24190ef2ad558caf0 (patch) | |
tree | 3e20ac3b018645953437dc896f382cf94545cc63 /builtin | |
parent | 53d31d71b7432391a8a5c7fdcbc38d803d6bd7e2 (diff) | |
parent | 3a4d67692b5a80213ca47a603fa5505a5990cc87 (diff) | |
download | git-24161eb036e140c964d278e24190ef2ad558caf0.tar.gz git-24161eb036e140c964d278e24190ef2ad558caf0.tar.xz |
Merge branch 'lt/rename-no-extra-copy-detection'
* lt/rename-no-extra-copy-detection:
diffcore-rename: improve estimate_similarity() heuristics
diffcore-rename: properly honor the difference between -M and -C
for_each_hash: allow passing a 'void *data' pointer to callback
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/describe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/describe.c b/builtin/describe.c index 342129fdb..3ba26dc81 100644 --- a/builtin/describe.c +++ b/builtin/describe.c @@ -63,7 +63,7 @@ static inline struct commit_name *find_commit_name(const unsigned char *peeled) return n; } -static int set_util(void *chain) +static int set_util(void *chain, void *data) { struct commit_name *n; for (n = chain; n; n = n->next) { @@ -289,7 +289,7 @@ static void describe(const char *arg, int last_one) fprintf(stderr, "searching to describe %s\n", arg); if (!have_util) { - for_each_hash(&names, set_util); + for_each_hash(&names, set_util, NULL); have_util = 1; } |