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

Re: new behaviour in git merge

From
SRStephen Rothwell <sfr@canb.auug.org.au>
Date
Feb 24, 2011, 09:24 UTC
Message-ID
<20110224202454.d3b8668e.sfr@canb.auug.org.au>
In-Reply-To
<20110224081553.GD25595@sigill.intra.peff.net>
Hi Jeff,
On Thu, 24 Feb 2011 03:15:53 -0500 Jeff King <peff@peff.net> wrote:
>
> I don't think any such change was intentional.  I couldn't reproduce
I was hoping that it was not intentional :-)
> with a trivial example. Can you give the commit IDs of the two heads in
I also tried a trivial example but failed to reproduce it.
> your example merge? I'd like to try bisecting if I can reproduce the
> issue.

In today's linux-next tree (available at git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git), commit ad11c1e8abca18872c2993b09b1abde418955b6c is just before the merge and commit a2c06ee2fe5b48a71e697bae00c6e7195fc016b6 is what was merged.

I just did this in a copy of my tree:
	git reset --hard ad11c1e8abca18872c2993b09b1abde418955b6c
	sleep 90
	git merge a2c06ee2fe5b48a71e697bae00c6e7195fc016b6

A comparison of the ls -lR ouput before and after showed a lot of changed modification times.

Several other merges showed the same problem.
Thanks for looking at this.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
Previous: Jeff KingNext: Jeff King
Message 3 of 8 in “new behaviour in git merge”
  1. Stephen RothwellFeb 24, 2011
  2. Jeff KingFeb 24, 2011
  3. Stephen RothwellFeb 24, 2011
  4. Jeff KingFeb 24, 2011
  5. 0/2 Fix unnecessary updates of files during mergeElijah Newren, Feb 26, 2011
  6. 1/2 t6022: New test checking for unnecessary updates of renamed+modified filesElijah Newren, Feb 26, 2011
  7. 2/2 merge-recursive: When we detect we can skip an update, actually skip itElijah Newren, Feb 26, 2011
  8. Elijah NewrenFeb 26, 2011

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.