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

[PATCHv3 0/3] Fix unnecessary (mtime) updates of files during merge

From
Elijah Newren <newren@gmail.com>
Date
Mar 3, 2011, 06:13 UTC
Message-ID
<1299132792-17497-1-git-send-email-newren@gmail.com>

This patch series fixes a bug reported by Stephen Rothwell -- that during merges git would unnecessarily update modification times of files. As noted by both Jeff and Junio, it's a bit of a band-aid since it doesn't dive into fixing make_room_for_path() and make_room_for_directories_of_df_conflicts(), but that would be a much bigger and more invasive change.

Changes since last version:
  * Portability fixes for the tests suggested by Hannes (thanks!)
  * Additional test cleanups suggested by Jeff
  * Jeff's acks have been added
Elijah Newren (3):
  t6022: New test checking for unnecessary updates of renamed+modified files
  t6022: New test checking for unnecessary updates of files in D/F conflicts
  merge-recursive: When we detect we can skip an update, actually skip it
 merge-recursive.c       |   17 ++++++++----
 t/t6022-merge-rename.sh |   65 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+), 6 deletions(-)
-- 
1.7.4
Next: Elijah Newren
Message 1 of 5 in “[PATCHv3 0/3] Fix unnecessary (mtime) updates of files during merge”
  1. Elijah NewrenMar 3, 2011
  2. 1/3 t6022: New test checking for unnecessary updates of renamed+modified filesElijah Newren, Mar 3, 2011
  3. 2/3 t6022: New test checking for unnecessary updates of files in D/F conflictsElijah Newren, Mar 3, 2011
  4. 3/3 merge-recursive: When we detect we can skip an update, actually skip itElijah Newren, Mar 3, 2011
  5. Junio C HamanoMar 3, 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.