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

possible minor bug: 'git apply --reject' unnecessarily touches files

From
NGNoel Grandin <noel@peralex.com>
Date
Mar 20, 2015, 14:01 UTC
Message-ID
<550C282C.6090302@peralex.com>
Hi
I'm doing some splitting of a large patch and I noticed that when I do
   $ git apply --reject large_patch.diff

and it generates a lot of .rej files, it seems to be touching the files that produced the .rej output, even if nothing in that particular file was actually updated.

Not a major issue, but it would help my build times, which are considerable when working on LibreOffice :-)
Thanks, Noel Grandin
Disclaimer: http://www.peralex.com/disclaimer.html
Message 1 of 1 in “possible minor bug: 'git apply --reject' unnecessarily touches files”
  1. Noel GrandinMar 20, 2015

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.