git-branch -D: make it work even when on a yet-to-be-born branch
[gitweb.git] / git.c
diff --git a/git.c b/git.c
index d6c2d2db6051b664ccf4b215b63b48e27df71dc6..1aa07a5164012dddf2fb0dca23c08d9c487e7d54 100644 (file)
--- a/git.c
+++ b/git.c
@@ -222,7 +222,8 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
                { "annotate", cmd_annotate, },
                { "apply", cmd_apply },
                { "archive", cmd_archive },
-               { "branch", cmd_branch },
+               { "blame", cmd_blame, RUN_SETUP | USE_PAGER },
+               { "branch", cmd_branch, RUN_SETUP },
                { "cat-file", cmd_cat_file, RUN_SETUP },
                { "checkout-index", cmd_checkout_index, RUN_SETUP },
                { "check-ref-format", cmd_check_ref_format },
@@ -249,6 +250,7 @@ static void handle_internal_command(int argc, const char **argv, char **envp)
                { "mv", cmd_mv, RUN_SETUP },
                { "name-rev", cmd_name_rev, RUN_SETUP },
                { "pack-objects", cmd_pack_objects, RUN_SETUP },
+               { "pickaxe", cmd_blame, RUN_SETUP | USE_PAGER },
                { "prune", cmd_prune, RUN_SETUP },
                { "prune-packed", cmd_prune_packed, RUN_SETUP },
                { "push", cmd_push, RUN_SETUP },