Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
discover_git_directory(): avoid setting invalid git_dir
[gitweb.git]
/
builtin
/
pack-refs.c
diff --git
a/builtin/pack-refs.c
b/builtin/pack-refs.c
index 39f9a55d16736d93b43e6aa16a33634039e55de4..b106a392a481570d4fda5a1116c523cde34557ba 100644
(file)
--- a/
builtin/pack-refs.c
+++ b/
builtin/pack-refs.c
@@
-17,5
+17,5
@@
int cmd_pack_refs(int argc, const char **argv, const char *prefix)
};
if (parse_options(argc, argv, prefix, opts, pack_refs_usage, 0))
usage_with_options(pack_refs_usage, opts);
- return
pack_refs(
flags);
+ return
refs_pack_refs(get_main_ref_store(),
flags);
}