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

[PATCH 0/4] clone: use --progress to mean -v

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Dec 25, 2009, 17:12 UTC
Message-ID
<1261761126-5784-1-git-send-email-rctay89@gmail.com>
In-Reply-To
<18831.46833.862.196815@hungover.brentg.com>

This series makes git-clone follow the "argument convention" of git-pack-objects, where the option --progress is used to force reporting of reporting. This was previously done with -v/--verbose.

This in effect ensures a single consistent convention regarding progress reporting for git commands. Having two conventions may potentially confuse users.

On a related note, Brent wrote a patch a while back [1]. This series is not as ambitious his and does not deal with the main git options. In fact, only the last patch effects the titular change. If a consensus is reached on this though, I don't rule out a separate patch/series to set the convention at the main git level.

PS. If someone can enlighten me on the proper noun for the git
    executable (I said "main git"), I would be very thankful.
PPS. Merry Christmas and happy holidays. :)
Tay Ray Chuan (4):
  check stderr with isatty() instead of stdout when deciding to show
    progress
  git-clone.txt: reword description of progress behaviour
  clone: set transport->verbose when -v/--verbose is used
  clone: use --progress to force progress reporting
 Documentation/git-clone.txt |   12 +++++++++---
 builtin-clone.c             |    6 ++++++
 t/t5702-clone-options.sh    |    3 ++-
 transport-helper.c          |    2 +-
 transport.c                 |    2 +-
 transport.h                 |    2 +-
 6 files changed, 20 insertions(+), 7 deletions(-)

Footnotes: [1] http://marc.info/?l=git&m=123415527432713

-- Cheers, Ray Chuan

Previous: Brent GoodrickNext: Tay Ray Chuan
Message 2 of 12 in “Add progress options”
  1. Add progress optionsBrent Goodrick, Feb 9, 2009
  2. 0/4 clone: use --progress to mean -vTay Ray Chuan, Dec 25, 2009
  3. 1/4 check stderr with isatty() instead of stdout when deciding to show progressTay Ray Chuan, Dec 25, 2009
  4. 2/4 git-clone.txt: reword description of progress behaviourTay Ray Chuan, Dec 25, 2009
  5. 3/4 clone: set transport->verbose when -v/--verbose is usedTay Ray Chuan, Dec 25, 2009
  6. 4/4 clone: use --progress to force progress reportingTay Ray Chuan, Dec 25, 2009
  7. Miklos VajnaDec 27, 2009
  8. Tay Ray ChuanDec 27, 2009
  9. Johannes SchindelinDec 26, 2009
  10. Tay Ray ChuanDec 27, 2009
  11. Junio C HamanoDec 29, 2009
  12. Tay Ray ChuanDec 29, 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.