summaryrefslogtreecommitdiff
path: root/refs.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-09-25 15:24:06 +0900
committerJunio C Hamano <gitster@pobox.com>2017-09-25 15:24:07 +0900
commitceb7a01aac907f124ca9bc0d768336e7c0aaa944 (patch)
tree572653023abd76faf00323f0862a6054a6f319e8 /refs.c
parentc50424a6f07f17ff9b06927606df650cd73a09a3 (diff)
parent006f3f28af2afb8c567ef3ddf4f0a9110c6be437 (diff)
downloadgit-ceb7a01aac907f124ca9bc0d768336e7c0aaa944.tar.gz
Merge branch 'jn/per-repo-object-store-fixes'
Step #0 of a planned & larger series to make the in-core object store per in-core repository object. * jn/per-repo-object-store-fixes: replace-objects: evaluate replacement refs without using the object store push, fetch: error out for submodule entries not pointing to commits pack: make packed_git_mru global a value instead of a pointer
Diffstat (limited to 'refs.c')
-rw-r--r--refs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/refs.c b/refs.c
index e8b67ddce8..0d5fe7442a 100644
--- a/refs.c
+++ b/refs.c
@@ -1357,7 +1357,7 @@ int for_each_replace_ref(each_ref_fn fn, void *cb_data)
return do_for_each_ref(get_main_ref_store(),
git_replace_ref_base, fn,
strlen(git_replace_ref_base),
- 0, cb_data);
+ DO_FOR_EACH_INCLUDE_BROKEN, cb_data);
}
int for_each_namespaced_ref(each_ref_fn fn, void *cb_data)