Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Is there any way to set this timestamp without patching git? Using touch or so? Commented Oct 25, 2014 at 14:16
  • 1
    @adrelanos Given this source code, not, but you could run git under faketime. Commented Oct 25, 2014 at 14:41
  • Agree: touch isn't enough (the timestamp is written into the tar's data stream), but faketime might do it. If you operate at high volumes, then you'd probably need to use 'absolute' times (simulating a 'stopped system clock') to mitigate raciness. Commented Oct 25, 2014 at 17:10