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

Re: Hard-linked trees with git?

From
KHKrzysztof Halasa <khc@pm.waw.pl>
Date
Oct 19, 2005, 11:23 UTC
Message-ID
<m3irvt21iv.fsf@defiant.localdomain>
In-Reply-To
<7vpsq2pmyl.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 5 quoted lines
>> Or: is it possible to have some constant file timestamps, so that
>> changing the HEAD to something and returning to the old HEAD
>> (say, with hard resets) restores the old timestamps?
>
> That would screw up 'make'.

Not if the old timestamps matched the old files and if you make sure you don't mix different branches with one object tree (i.e., you always switch to correct HEAD before building).

-- 
Krzysztof Halasa
Previous: Junio C Hamano
Message 3 of 3 in “Hard-linked trees with git?”
  1. Krzysztof HalasaOct 18, 2005
  2. Junio C HamanoOct 18, 2005
  3. Krzysztof HalasaOct 19, 2005

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.