"git commit --dry-run" updates
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | Documentation/git-commit.txt: describe --dry-runDocumentation/ | +9 | 0 replies | |
| 2/6 | git commit --dry-run -v: show diff in color when askedbuiltin-commit.c | +4 | 0 replies | |
| 3/6 | git stat: the beginningMakefile builtin-commit.c builtin.h +3 more | +72 | 0 replies | |
| 4/6 | git stat: pathspec limits, unlike traditional "git status"builtin-commit.c wt-status.c wt-status.h | +10 | 0 replies | |
| 5/6 | git stat -s: short status outputbuiltin-commit.c | +103 | 0 replies | |
| 6/6 | git status: not "commit --dry-run" anymoreDocumentation/ builtin-commit.c builtin.h +1 more | +73 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] "git commit --dry-run" updates
The first patch describes --dry-run option, and stops mentioning the equivalence to "git status" in the documentation for "git commit".
The second one fixes "git commit --dry-run -v", which did not show the diff text in color when asked with the configuration.
The third and the fourth ones tentatively introduce "git stat". The former is an incomplete implementation that ignores the pathspec, and the latter adds pathspec limiting to it. In the final form before it goes to 'next', these two should probably be squashed.
The fifth one introduces "git stat -s" (short output format) that is designed to be machine readable, especially with -z (NUL termination).
The sixth one renames "git stat" to take over the traditional "git status" and obviously is a 1.7.0 material.
The tests still have breakages that future updates to the sixth patch need to fix. t4030 still assumes "git status" is "git commit --dry-run" and expects it to take "-v" to produce diffs, for example.