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

git gc annoyance

From
MLMike Laster <mlaster@metavillage.com>
Date
Jul 18, 2008, 03:30 UTC
Message-ID
<0BEA60F9-852B-45B2-9A9A-173B8C9386AC@metavillage.com>

Whenever I run 'git gc' all of the files in .git/logs/refs/remotes/ tags get touched with the current timestamp.

I use unison to sync my working directories between home and work and these files show up as changed unnecessarily. Since they are all zero- byte files clearly they haven't changed. It would be more efficient to not touch the file if it already exists to leave the old timestamp in place.

Message 1 of 1 in “git gc annoyance”
  1. Mike LasterJul 18, 2008

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.