threads / discuss / 14519

git gc annoyance

Subject: git gc annoyance

## tl;dr

One message between Jul 18, 2008 and Jul 18, 2008.

replies: 0people: 1as markdown or json

Mike Laster· Jul 18, 2008, 03:30 UTC · lore

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.

← back to recent threads