Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
cache.h: extract enum declaration from inside a struct declaration
[gitweb.git]
/
replace-object.c
diff --git
a/replace-object.c
b/replace-object.c
index 246b98cd4f1e4d229109bbeb8ffe90731df43df0..801b5c16789f5ac7d87a4409d8218311a52db0aa 100644
(file)
--- a/
replace-object.c
+++ b/
replace-object.c
@@
-37,7
+37,7
@@
static void prepare_replace_object(struct repository *r)
return;
r->objects->replace_map =
- xmalloc(sizeof(*
the_repository
->objects->replace_map));
+ xmalloc(sizeof(*
r
->objects->replace_map));
oidmap_init(r->objects->replace_map, 0);
for_each_replace_ref(r, register_replace_ref, NULL);