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

Re: [PATCH] Fixup no-progress for fetch & clone

From
Nicolas Pitre <nico@cam.org>
Date
Feb 24, 2007, 05:14 UTC
Message-ID
<alpine.LRH.0.82.0702240005270.29426@xanadu.home>
In-Reply-To
<7vbqjk17a8.fsf@assigned-by-dhcp.cox.net>
On Fri, 23 Feb 2007, Junio C Hamano wrote:
Show 15 quoted lines
> Nicolas Pitre <nico@cam.org> writes:
> 
> > And it is not like if the whole thing was thrown away.  For example I 
> > think messages like
> >
> > 	remote: Writing 1234 objects.
> >
> > are good messages to have in a log file even when progress display is 
> > filtered out.  So the sideband demultiplexing is useful in that case as 
> > well.
> 
> In that case, maybe we should define a separate sideband for
> progress display?  Currently #1 (payload) and #3 (emergency
> exit) are distinct but #2 corresponds to stderr which has info
> messages and progress noise all mixed up.

And how would the remote end distinguish how to split the info from the progress noise? Teaching pack-object about another file descriptor? And what happen if pack-object is run locally in that case?

How does that solve the issue with servers (currently all of them) that don't know about the new sideband?

I think life might just be so much simpler if we just decide right now that progress noise is defined as a string ending witha '\r', and that we just toss it locally when we don't want progress noise. As a bonus this is even fully backward compatible with all existing servers.

Nicolas
Previous: Junio C HamanoNext: Junio C Hamano
Message 13 of 16 in “Fixup no-progress for fetch & clone”
  1. Fixup no-progress for fetch & cloneJohannes Schindelin, Feb 23, 2007
  2. Junio C HamanoFeb 23, 2007
  3. Johannes SchindelinFeb 24, 2007
  4. Junio C HamanoFeb 24, 2007
  5. Johannes SchindelinFeb 24, 2007
  6. Nicolas PitreFeb 24, 2007
  7. Junio C HamanoFeb 24, 2007
  8. Johannes SchindelinFeb 24, 2007
  9. Nicolas PitreFeb 24, 2007
  10. Johannes SchindelinFeb 24, 2007
  11. Nicolas PitreFeb 24, 2007
  12. Junio C HamanoFeb 24, 2007
  13. Nicolas PitreFeb 24, 2007
  14. Junio C HamanoFeb 24, 2007
  15. Nicolas PitreFeb 24, 2007
  16. Jakub NarebskiFeb 24, 2007

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.