# the meaning of keephardlinks

3 messages from 2009-01-13 to 2009-01-13. Participants: Geoff Russell, Johannes Schindelin.
Thread: https://gitlist.dev/t/17131

## Geoff Russell, 2009-01-13 00:17

Subject: the meaning of keephardlinks
Message-ID: <93c3eada0901121617m43af82a7te946b1607fbf3f77@mail.gmail.com>
URL: https://gitlist.dev/e/93c3eada0901121617m43af82a7te946b1607fbf3f77%40mail.gmail.com

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

```

## Johannes Schindelin, 2009-01-13 00:42

Subject: Re: the meaning of keephardlinks
Message-ID: <alpine.DEB.1.00.0901130141190.3586@pacific.mpi-cbg.de>
URL: https://gitlist.dev/e/alpine.DEB.1.00.0901130141190.3586%40pacific.mpi-cbg.de
In-Reply-To: <93c3eada0901121617m43af82a7te946b1607fbf3f77@mail.gmail.com>

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

```

## Geoff Russell, 2009-01-13 03:30

Subject: Re: the meaning of keephardlinks
Message-ID: <93c3eada0901121930n16dd2e83v452c38fd30da5054@mail.gmail.com>
URL: https://gitlist.dev/e/93c3eada0901121930n16dd2e83v452c38fd30da5054%40mail.gmail.com
In-Reply-To: <alpine.DEB.1.00.0901130141190.3586@pacific.mpi-cbg.de>

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

```
