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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]