git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Hard-linked trees with git?
@ 2005-10-18 20:18 Krzysztof Halasa
  2005-10-18 20:52 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Halasa @ 2005-10-18 20:18 UTC (permalink / raw)
  To: git

Hi,

Are hard-linked working trees possible with git? Anybody doing that?

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?
-- 
Krzysztof Halasa

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Hard-linked trees with git?
  2005-10-18 20:18 Hard-linked trees with git? Krzysztof Halasa
@ 2005-10-18 20:52 ` Junio C Hamano
  2005-10-19 11:23   ` Krzysztof Halasa
  0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2005-10-18 20:52 UTC (permalink / raw)
  To: Krzysztof Halasa; +Cc: git

Krzysztof Halasa <khc@pm.waw.pl> writes:

> 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'.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Hard-linked trees with git?
  2005-10-18 20:52 ` Junio C Hamano
@ 2005-10-19 11:23   ` Krzysztof Halasa
  0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Halasa @ 2005-10-19 11:23 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

Junio C Hamano <junkio@cox.net> writes:

>> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-10-19 11:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-18 20:18 Hard-linked trees with git? Krzysztof Halasa
2005-10-18 20:52 ` Junio C Hamano
2005-10-19 11:23   ` Krzysztof Halasa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).