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

Re: git-pull - strange (copy/rename) messages ?!

From
Petr Baudis <pasky@suse.cz>
Date
Nov 1, 2005, 23:06 UTC
Message-ID
<20051101230635.GA1431@pasky.or.cz>
In-Reply-To
<Pine.LNX.4.64.0511011646070.25300@iabervon.org>

Dear diary, on Tue, Nov 01, 2005 at 11:03:26PM CET, I got a letter where Daniel Barkalow <barkalow@iabervon.org> told me that...

Show 9 quoted lines
> On Tue, 1 Nov 2005, Junio C Hamano wrote:
> > Would it be easier to read if we say A was renamed to B, and A
> > was renamed to C, and A was renamed to D, ...?  I think the
> > current output is easier to understand than that.  B-Y gets
> > labelled as copy of A and Z gets labelled as rename.
> 
> I think it's more confusing for the system to report Z differently from 
> other things, because there's nothing special about what it found, except 
> that Z happens to be last.

I agree, but I'd prefer it to be labelled as a copy+remove instead of a rename in case it is ambiguous. Just a simple rule - if the file was removed and you get multiple rename candidates, mark all of them as 'copy'.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
Previous: Daniel BarkalowNext: Junio C Hamano
Message 5 of 9 in “git-pull - strange (copy/rename) messages ?!”
  1. Duncan Mac LeodNov 1, 2005
  2. Linus TorvaldsNov 1, 2005
  3. Junio C HamanoNov 1, 2005
  4. Daniel BarkalowNov 1, 2005
  5. Petr BaudisNov 1, 2005
  6. Junio C HamanoNov 1, 2005
  7. Petr BaudisNov 1, 2005
  8. Junio C HamanoNov 2, 2005
  9. Daniel BarkalowNov 1, 2005

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.