Skip to content

commit --dry-run

Junio C Hamano git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 1 replyIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3commit: --dry-runDocumentation/git-commit.txt builtin-commit.c+22 -140 replies
2/3git stat: the beginningMakefile builtin-commit.c builtin.h +3 more+65 -190 replies
3/3git stat -s: short status outputbuiltin-commit.c+79 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] commit --dry-run

This is a re-roll of the commit in the jc/shortstatus series that has been kept out of 'pu'.

First, we introduce "git commit --dry-run", which does exactly the same thing as the current "git status". A longer term goal of this change is so that we could make "git status" behave completely differently after an ample warning period.

The second commit introduces a new "git status" under a tentative name "git stat". In this step, it does not do anything interesting, other than that it ignores the path parameters.

The third commit adds "-s" option to the new command, to give the "short" output format.

Probably the next round should insert a commit between the second one and the third one to take pathspec parameters that are used as path limiters, but I am too tired for doing that myself tonight.

Junio C Hamano (3):
commit: --dry-run
git stat: the beginning
git stat -s: short status output

 Documentation/git-commit.txt |    7 ++-
 Makefile                     |    1 +
 builtin-commit.c             |  163 ++++++++++++++++++++++++++++++++++++------
 builtin.h                    |    1 +
 git.c                        |    1 +
 wt-status.c                  |   24 ++++---
 wt-status.h                  |    1 +
 7 files changed, 165 insertions(+), 33 deletions(-)