git.el: Add support for commit hooks.
[gitweb.git] / git.c
diff --git a/git.c b/git.c
index dde4d07e8fbb830791417d422e4b9204373935e4..ed1c65e3095fbbbeab88976bbae358a9d76ad937 100644 (file)
--- a/git.c
+++ b/git.c
@@ -249,6 +249,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
                { "format-patch", cmd_format_patch, RUN_SETUP },
                { "fsck", cmd_fsck, RUN_SETUP },
                { "fsck-objects", cmd_fsck, RUN_SETUP },
+               { "gc", cmd_gc, RUN_SETUP },
                { "get-tar-commit-id", cmd_get_tar_commit_id },
                { "grep", cmd_grep, RUN_SETUP | USE_PAGER },
                { "help", cmd_help },