Fix buggy ref recording
[gitweb.git] / git.c
diff --git a/git.c b/git.c
index 44ab0de94d84e3b09d753b1da85679efcfd793a0..de2a06b973a4ae99a8cb097e4efa627be3817317 100644 (file)
--- a/git.c
+++ b/git.c
@@ -269,6 +269,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
                { "whatchanged", cmd_whatchanged, RUN_SETUP | USE_PAGER },
                { "write-tree", cmd_write_tree, RUN_SETUP },
                { "verify-pack", cmd_verify_pack },
+               { "pack-refs", cmd_pack_refs, RUN_SETUP },
        };
        int i;