summaryrefslogtreecommitdiff
path: root/git.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-08-15 09:27:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-08-22 19:18:00 (GMT)
commit9e4b7ab652561e1807702fe5288e04b8873fc437 (patch)
tree468f28135714375fa664bfebf4a0fa0f71582d54 /git.c
parent173e6c8852be3c543689f8613ddf3fdafd9ca7b9 (diff)
downloadgit-9e4b7ab652561e1807702fe5288e04b8873fc437.zip
git-9e4b7ab652561e1807702fe5288e04b8873fc437.tar.gz
git-9e4b7ab652561e1807702fe5288e04b8873fc437.tar.bz2
git status: not "commit --dry-run" anymore
This removes tentative "git stat" and make it take over "git status". There are some tests that expect "git status" to exit with non-zero status when there is something staged. Some tests expect "git status path..." to show the status for a partial commit. For these, replace "git status" with "git commit --dry-run". For the ones that do not attempt a dry-run of a partial commit that check the output from the command, check the output from "git status" as well, as they should be identical. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git.c')
-rw-r--r--git.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/git.c b/git.c
index de7fcf6..807d875 100644
--- a/git.c
+++ b/git.c
@@ -350,7 +350,6 @@ static void handle_internal_command(int argc, const char **argv)
{ "shortlog", cmd_shortlog, USE_PAGER },
{ "show-branch", cmd_show_branch, RUN_SETUP },
{ "show", cmd_show, RUN_SETUP | USE_PAGER },
- { "stat", cmd_stat, RUN_SETUP | NEED_WORK_TREE },
{ "status", cmd_status, RUN_SETUP | NEED_WORK_TREE },
{ "stripspace", cmd_stripspace },
{ "symbolic-ref", cmd_symbolic_ref, RUN_SETUP },