author | Junio C Hamano <gitster@pobox.com> | |
Sat, 15 Aug 2009 09:27:39 +0000 (02:27 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 22 Aug 2009 19:18:00 +0000 (12:18 -0700) | ||
commit | 9e4b7ab652561e1807702fe5288e04b8873fc437 | |
tree | 468f28135714375fa664bfebf4a0fa0f71582d54 | tree | snapshot |
parent | 173e6c8852be3c543689f8613ddf3fdafd9ca7b9 | commit | diff |
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>
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>