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

Re: Git "Keeping Original Dates"

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Jun 5, 2017, 21:27 UTC
Message-ID
<CACBZZX4t+dJA-G9r+LuskmkpR5oR7+YMUSCZgL3GCgPcKkda2Q@mail.gmail.com>
In-Reply-To
<5935C999.5060801@winserver.com>

On Mon, Jun 5, 2017 at 11:14 PM, Hector Santos <winserver.support@winserver.com> wrote:

> I'm implementing GIT.  If there an option or compile/version that "keep"
> file timestamps?

The git datamodel stores files as a list of names and whether or not they have the executable bit.

If you need to set the ctime/mtime/whatever on the other side you'd do that via some script you'd ship with your repository.

This may not answer your question, but it isn't very clear.
Previous: Hector SantosNext: Jeff King
Message 2 of 9 in “Git "Keeping Original Dates"”
  1. Hector SantosJun 5, 2017
  2. Ævar Arnfjörð BjarmasonJun 5, 2017
  3. Jeff KingJun 6, 2017
  4. Hector SantosJun 6, 2017
  5. Jason PyeronJun 5, 2017
  6. Ævar Arnfjörð BjarmasonJun 5, 2017
  7. Hector SantosJun 5, 2017
  8. Theodore Ts'oJun 6, 2017
  9. Konstantin KhomoutovJun 6, 2017

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.