"git status" that is not "git commit --dry-run"
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | Documentation/git-commit.txt: describe --dry-runDocumentation/ | +9 | 0 replies | |
| 2/9 | git commit --dry-run -v: show diff in color when askedbuiltin-commit.c | +4 | 0 replies | |
| 3/9 | git stat: the beginningMakefile builtin-commit.c builtin.h +3 more | +72 | 0 replies | |
| 4/9 | git stat: honor relative paths settingbuiltin-commit.c | +2 | 0 replies | |
| 5/9 | git stat: show traditional status headers and trailers as wellbuiltin-commit.c wt-status.c wt-status.h | +16 | 0 replies | |
| 6/9 | git stat: pathspec limits, unlike traditional "git status"builtin-commit.c wt-status.c wt-status.h | +10 | 0 replies | |
| 7/9 | git stat -s: short status outputbuiltin-commit.c | +106 | 0 replies | |
| 8/9 | git status: not "commit --dry-run" anymoreDocumentation/ builtin-commit.c builtin.h +1 more | +73 | 1 reply | |
| 9/9 | git-status: adjust testst/ t/ t/ +1 more | +16 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] "git status" that is not "git commit --dry-run"
Here is an update relative to 7637868 (wt-status: collect untracked files in a separate "collect" phase, 2009-08-10) that has been queued in 'next'.
[PATCH 1/9] and [PATCH 2/9] are the same from last night's fixes.
[PATCH 3/9] through [PATCH 6/9] introduce a new "git status" with different semantics for 1.7.0 under a tentative name "git stat". They will be squashed into one commit in the final round, as 4, 5, and 6 are fix-ups, but are keft separate for easier review.
The new "git status" handles paths differently from the traditional one. It used to be the preview of "git commit paths...", IOW, "show what would happen if we try to make a partial commit of only these paths". The new "git status" only limits the paths the output talks about and is not a preview of anything at all anymore.
Another semantic change is that its exit status no longer says if there is something to be committed in the index. We used to exit with non-zero status if there is nothing to commit.
[PATCH 7/9] introduces a short format output.
The last two patches make the new "git status" official. They will be squashed together into one commit in the final round, but are kept separate for reviewability.
Junio C Hamano (9):
Documentation/git-commit.txt: describe --dry-run
git commit --dry-run -v: show diff in color when asked git stat: the beginning
git stat: honor relative paths setting
git stat: show traditional status headers and trailers as well git stat: pathspec limits, unlike traditional "git status" git stat -s: short status output
git status: not "commit --dry-run" anymore
git-status: adjust tests
Documentation/git-commit.txt | 13 ++- Documentation/git-status.txt | 79 +++++++++++++++++--- Makefile | 1 + builtin-commit.c | 172 +++++++++++++++++++++++++++++++++++++----- t/t6040-tracking-info.sh | 2 +- t/t7060-wtstatus.sh | 8 +- t/t7506-status-submodule.sh | 6 +- t/t7508-status.sh | 12 ++- wt-status.c | 10 ++- wt-status.h | 1 + 10 files changed, 255 insertions(+), 49 deletions(-)