3 ms·
You are wrong about the semantics of git-gc. It will consider for garbage collection all objects that are not referenced, and a reference is everything under re
by avar 8y ago
You are wrong about the semantics of git-gc. It will consider for garbage collection all objects that are not referenced, and a reference is everything under refs/*, in addition to the other things you mentioned (index, reflogs etc.).
- snuxoll 8y agoThe documentation on the man page does not make that clear, if explicitly calls out specific ref types - so that makes more sense.