summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-11-24 16:31:34 -0800
committerJunio C Hamano <gitster@pobox.com>2007-11-24 16:31:34 -0800
commit6c6ea3800d1eace51994d90fbeb19ffe918e63b0 (patch)
tree5a47df1dd62703aa0bef43431a8b31977fb17129 /git.c
parentab002e34e26c39a716dc80359450f739ba907122 (diff)
parent1617adc7a074415413b2f48da72f43d5c6cd74c4 (diff)
downloadgit-6c6ea3800d1eace51994d90fbeb19ffe918e63b0.tar.gz
Merge branch 'sb/clean'
* sb/clean: Teach git clean to use setup_standard_excludes() git-clean: Fix error message if clean.requireForce is not set. Make git-clean a builtin
Diffstat (limited to 'git.c')
-rw-r--r--git.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/git.c b/git.c
index 51ee647295..517ef414f7 100644
--- a/git.c
+++ b/git.c
@@ -293,6 +293,7 @@ static void handle_internal_command(int argc, const char **argv)
{ "check-attr", cmd_check_attr, RUN_SETUP | NEED_WORK_TREE },
{ "cherry", cmd_cherry, RUN_SETUP },
{ "cherry-pick", cmd_cherry_pick, RUN_SETUP | NEED_WORK_TREE },
+ { "clean", cmd_clean, RUN_SETUP | NEED_WORK_TREE },
{ "commit-tree", cmd_commit_tree, RUN_SETUP },
{ "config", cmd_config },
{ "count-objects", cmd_count_objects, RUN_SETUP },