Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
read-cache: new API write_locked_index instead of write_index/write_cache
[gitweb.git]
/
builtin
/
index-pack.c
diff --git
a/builtin/index-pack.c
b/builtin/index-pack.c
index fa74972886cc8e6c0f6308e28de26a13cae6a2b7..b9f6e12c0e91635eafd8510dc7cf20d6c3e58433 100644
(file)
--- a/
builtin/index-pack.c
+++ b/
builtin/index-pack.c
@@
-1502,7
+1502,7
@@
int cmd_index_pack(int argc, const char **argv, const char *prefix)
if (argc == 2 && !strcmp(argv[1], "-h"))
usage(index_pack_usage);
-
read
_replace_refs = 0;
+
check
_replace_refs = 0;
reset_pack_idx_option(&opts);
git_config(git_index_pack_config, &opts);