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

Re: [PATCH] git-update-index: report(...) now flushes stdout after printing the report line

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 6, 2010, 01:04 UTC
Message-ID
<7vwrzwoxh4.fsf@alter.siamese.dyndns.org>
In-Reply-To
<be6fef0d1001031503h11cb65c6ha34eee345b9b7055@mail.gmail.com>
Tay Ray Chuan <rctay89@gmail.com> writes:
Show 10 quoted lines
> from your above message solely and setting aside your original patch,
> I presume that you want to introduce the ability to force progress
> reporting even if stderr isn't a terminal.
>
> I am working a feature (display progress for http operations) that
> happens to add this ability to git-push and git-fetch, by specifying
> the --progress option.
>
> Regarding git-pull - I guess it's only git-fetch (being
> transport-related) that reports progress?
Are you talking about this topic?
 * tc/clone-v-progress (2009-12-26) 4 commits
  - clone: use --progress to force progress reporting
  - clone: set transport->verbose when -v/--verbose is used
  - git-clone.txt: reword description of progress behaviour
  - check stderr with isatty() instead of stdout when deciding to show progress

What do people think about it? I vaguely recall that somebody asked to add a warning to release notes on the behaviour change to this series, and I think it may be a worthwhile thing to do (e.g. "Earlier we did X but now we do Y; change things in this way if you want us to keep doing X"), but otherwise I think it is a sensible change.

Previous: Sebastian ThielNext: Tay Ray Chuan
Message 8 of 9 in “git-update-index: report(...) now flushes stdout after printing the report line”
  1. git-update-index: report(...) now flushes stdout after printing the report lineSebastian Thiel, Nov 19, 2009
  2. Nanako ShiraishiDec 30, 2009
  3. Junio C HamanoDec 30, 2009
  4. Sebastian ThielDec 30, 2009
  5. Sebastian ThielJan 3, 2010
  6. Tay Ray ChuanJan 3, 2010
  7. Sebastian ThielJan 4, 2010
  8. Junio C HamanoJan 6, 2010
  9. Tay Ray ChuanJan 6, 2010

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.