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

Re: [PATCH] Kill the useless progress meter in merge-recursive

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Apr 20, 2007, 18:00 UTC
Message-ID
<Pine.LNX.4.64.0704201339160.27922@iabervon.org>
In-Reply-To
<7vd51z317c.fsf@assigned-by-dhcp.cox.net>
On Fri, 20 Apr 2007, Junio C Hamano wrote:
Show 13 quoted lines
> "Shawn O. Pearce" <spearce@spearce.org> writes:
> 
> > The mess known as the progress meter in merge-recursive was my own
> > fault; I put it in thinking that we might be spending a lot of time
> > resolving unmerged entries in the index that were not handled by
> > the simple 3-way index merge code.
> >
> > Turns out we don't really spend that much time there, so the progress
> > meter was pretty much always jumping to "(n/n) 100%" as soon as
> > the program started.  That isn't a very good indication of progress.
> 
> I would propose removing the progress meter for "Checking out
> files" in unpack-trees, for the same reason.

Maybe it should instead be arranged to only show the progress meter when the timer expires the first time (or, maybe, if it expires a few times). Rather than deciding whether it's going to be slow based on the total number, decide based on whether it's taken long enough for the user to wonder what's going on yet.

	-Daniel
*This .sig left intentionally blank*
Previous: Linus Torvalds
Message 5 of 5 in “Kill the useless progress meter in merge-recursive”
  1. Kill the useless progress meter in merge-recursiveShawn O. Pearce, Apr 20, 2007
  2. Junio C HamanoApr 20, 2007
  3. Martin WaitzApr 20, 2007
  4. Linus TorvaldsApr 20, 2007
  5. Daniel BarkalowApr 20, 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.