commit: do not lose SQUASH_MSG contents
[gitweb.git] / git.c
diff --git a/git.c b/git.c
index fe94066aeebb0d71ea140c3d67ac4ad232db0799..55c327c7b3d2cd9cf9e0d52ddc5f83b34eeea75e 100644 (file)
--- a/git.c
+++ b/git.c
@@ -445,6 +445,7 @@ static struct cmd_struct commands[] = {
        { "pickaxe", cmd_blame, RUN_SETUP },
        { "prune", cmd_prune, RUN_SETUP },
        { "prune-packed", cmd_prune_packed, RUN_SETUP },
+       { "pull", cmd_pull, RUN_SETUP | NEED_WORK_TREE },
        { "push", cmd_push, RUN_SETUP },
        { "read-tree", cmd_read_tree, RUN_SETUP },
        { "receive-pack", cmd_receive_pack },