diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-05-29 23:51:22 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-29 23:51:22 -0700 |
commit | 01f9ffbd5d3f480c9a524780d86fa0d4134841af (patch) | |
tree | 40a47451f2a72180a1497fca3ac157ff1f114226 /builtin/fetch-pack.c | |
parent | a9930e359c45302f92639e8cd0a61c9c912e0b22 (diff) | |
parent | cff38a5e11217dc997c1ffae8d0856023e05554a (diff) | |
download | git-01f9ffbd5d3f480c9a524780d86fa0d4134841af.tar.gz |
Merge branch 'jk/haves-from-alternate-odb'
* jk/haves-from-alternate-odb:
receive-pack: eliminate duplicate .have refs
bisect: refactor sha1_array into a generic sha1 list
refactor refs_from_alternate_cb to allow passing extra data
Diffstat (limited to 'builtin/fetch-pack.c')
-rw-r--r-- | builtin/fetch-pack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/fetch-pack.c b/builtin/fetch-pack.c index 56c0b4a38d..4367984102 100644 --- a/builtin/fetch-pack.c +++ b/builtin/fetch-pack.c @@ -226,7 +226,7 @@ static void insert_one_alternate_ref(const struct ref *ref, void *unused) static void insert_alternate_refs(void) { - foreach_alt_odb(refs_from_alternate_cb, insert_one_alternate_ref); + for_each_alternate_ref(insert_one_alternate_ref, NULL); } #define INITIAL_FLUSH 16 |