# possible problem / bug

2 messages from 2016-05-05 to 2016-05-13. Participants: Bryant Bernstein, Johannes Schindelin.
Thread: https://gitlist.dev/t/42222

## Bryant Bernstein, 2016-05-05 02:19

Subject: possible problem / bug
Message-ID: <CAPpP+uW=ReKkUnz4PMEyhchcafd0qtgSZ_Qg0Hq77k4u+aPUyQ@mail.gmail.com>
URL: https://gitlist.dev/e/CAPpP%2BuW%3DReKkUnz4PMEyhchcafd0qtgSZ_Qg0Hq77k4u%2BaPUyQ%40mail.gmail.com

```
Both windows and linux support links but both git and the git bash
seem to have a problem with them.

In my source, (originally on Linux) I have a link in my source
directory to a config file which I normally import into python.  This
allows me to have something.py pointing to config.txt .  config.txt
can be opened by an editor and something.py can be imported into a
python shell.

This worked in Linux alone and on windows  as both platforms support
links.  But if I use git to bring my code from linux to windows I end
up with a file that contains the path to the target file.

Then I went to try to see what git bash would do with a link.

I created a file and a link to it using ln -s
This created a copy of the file I wanted to link to.

What do you think?
Should this work better?

Bryant Bernstein
+ 61 419 323 378

```

## Johannes Schindelin, 2016-05-13 11:39

Subject: Re: possible problem / bug
Message-ID: <alpine.DEB.2.20.1605131338480.4092@virtualbox>
URL: https://gitlist.dev/e/alpine.DEB.2.20.1605131338480.4092%40virtualbox
In-Reply-To: <CAPpP+uW=ReKkUnz4PMEyhchcafd0qtgSZ_Qg0Hq77k4u+aPUyQ@mail.gmail.com>

```
Hi Bryant,

On Thu, 5 May 2016, Bryant Bernstein wrote:

> Both windows and linux support links but both git and the git bash
> seem to have a problem with them.
> 
> In my source, (originally on Linux) I have a link in my source
> directory to a config file which I normally import into python.  This
> allows me to have something.py pointing to config.txt .  config.txt
> can be opened by an editor and something.py can be imported into a
> python shell.
> 
> This worked in Linux alone and on windows  as both platforms support
> links.  But if I use git to bring my code from linux to windows I end
> up with a file that contains the path to the target file.
> 
> Then I went to try to see what git bash would do with a link.
> 
> I created a file and a link to it using ln -s
> This created a copy of the file I wanted to link to.
> 
> What do you think?
> Should this work better?

See https://github.com/git-for-windows/git/wiki/Symbolic-Links

Ciao,
Johannes

```
