git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* the meaning of keephardlinks
@ 2009-01-13  0:17 Geoff Russell
  2009-01-13  0:42 ` Johannes Schindelin
  0 siblings, 1 reply; 3+ messages in thread
From: Geoff Russell @ 2009-01-13  0:17 UTC (permalink / raw)
  To: git

I'm curious about what keephardlinks means.

If I do: "ln X Y ; git add Y ; git commit" in my origin and then
"git pull" in my cloned repository,
should I get a hard linked file in the clone
when core.keephardlinks is set to true?

Cheers,
Geoff Russell

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

* Re: the meaning of keephardlinks
  2009-01-13  0:17 the meaning of keephardlinks Geoff Russell
@ 2009-01-13  0:42 ` Johannes Schindelin
  2009-01-13  3:30   ` Geoff Russell
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Schindelin @ 2009-01-13  0:42 UTC (permalink / raw)
  To: Geoff Russell; +Cc: git

Hi,

On Tue, 13 Jan 2009, Geoff Russell wrote:

> I'm curious about what keephardlinks means.
> 
> If I do: "ln X Y ; git add Y ; git commit" in my origin and then
> "git pull" in my cloned repository,
> should I get a hard linked file in the clone
> when core.keephardlinks is set to true?

Nope.

It means that if you have a hard link locally, it will stay a hard link 
(and if it is modified, the other linked files will obviously change, 
too).

Note that this feature is not even in 'next'.

Ciao,
Dscho

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

* Re: the meaning of keephardlinks
  2009-01-13  0:42 ` Johannes Schindelin
@ 2009-01-13  3:30   ` Geoff Russell
  0 siblings, 0 replies; 3+ messages in thread
From: Geoff Russell @ 2009-01-13  3:30 UTC (permalink / raw)
  To: Johannes Schindelin; +Cc: git

On 1/13/09, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> Hi,
>
>
>  On Tue, 13 Jan 2009, Geoff Russell wrote:
>
>  > I'm curious about what keephardlinks means.
>  >
>  > If I do: "ln X Y ; git add Y ; git commit" in my origin and then
>  > "git pull" in my cloned repository,
>  > should I get a hard linked file in the clone
>  > when core.keephardlinks is set to true?
>
>
> Nope.
>
>  It means that if you have a hard link locally, it will stay a hard link
>  (and if it is modified, the other linked files will obviously change,
>  too).
>
>  Note that this feature is not even in 'next'.
>
>  Ciao,
>  Dscho


Fine. Thanks,

Geoff.

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

end of thread, other threads:[~2009-01-13  3:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-13  0:17 the meaning of keephardlinks Geoff Russell
2009-01-13  0:42 ` Johannes Schindelin
2009-01-13  3:30   ` Geoff Russell

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