git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/6] "git commit --dry-run" updates

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 15, 2009, 10:06 UTC
Message-ID
<1250330803-22171-1-git-send-email-gitster@pobox.com>

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.

Next: Junio C Hamano
Message 1 of 10 in “"git commit --dry-run" updates”
  1. 0/6 "git commit --dry-run" updatesJunio C Hamano, Aug 15, 2009
  2. 1/6 Documentation/git-commit.txt: describe --dry-runJunio C Hamano, Aug 15, 2009
  3. 2/6 git commit --dry-run -v: show diff in color when askedJunio C Hamano, Aug 15, 2009
  4. 3/6 git stat: the beginningJunio C Hamano, Aug 15, 2009
  5. 4/6 git stat: pathspec limits, unlike traditional "git status"Junio C Hamano, Aug 15, 2009
  6. 5/6 git stat -s: short status outputJunio C Hamano, Aug 15, 2009
  7. 6/6 git status: not "commit --dry-run" anymoreJunio C Hamano, Aug 15, 2009
  8. Thomas RastAug 17, 2009
  9. Junio C HamanoAug 17, 2009
  10. Thomas RastAug 17, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.