summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorMark Wooding <mdw@distorted.org.uk>2007-01-29 15:48:06 +0000
committerJunio C Hamano <junkio@cox.net>2007-01-29 09:36:21 -0800
commitb4dfefe00f7035140b7a10e855a665c1347cacd6 (patch)
tree802a2556165658868dcb3f46b241602347093e11 /git.c
parentdbaa06a2b0f58b7bf1d337380eb61fa4064c1b15 (diff)
downloadgit-b4dfefe00f7035140b7a10e855a665c1347cacd6.tar.gz
Make fsck and fsck-objects be builtins.
The earlier change df391b192 to rename fsck-objects to fsck broke fsck-objects. This should fix it again. Signed-off-by: Mark Wooding <mdw@distorted.org.uk> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git.c')
-rw-r--r--git.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/git.c b/git.c
index d21e5e505c..fb03a547de 100644
--- a/git.c
+++ b/git.c
@@ -235,6 +235,8 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
{ "fmt-merge-msg", cmd_fmt_merge_msg, RUN_SETUP },
{ "for-each-ref", cmd_for_each_ref, RUN_SETUP },
{ "format-patch", cmd_format_patch, RUN_SETUP },
+ { "fsck", cmd_fsck, RUN_SETUP },
+ { "fsck-objects", cmd_fsck, RUN_SETUP },
{ "get-tar-commit-id", cmd_get_tar_commit_id },
{ "grep", cmd_grep, RUN_SETUP },
{ "help", cmd_help },