# Fwd: git-new-workdir for Windows (#9)

2 messages from 2011-06-15 to 2011-06-20. Participants: Daniel Smith, Ramkumar Ramachandra.
Thread: https://gitlist.dev/t/27629

## Daniel Smith, 2011-06-15 16:24

Subject: Fwd: git-new-workdir for Windows (#9)
Message-ID: <BANLkTi=x+5yL3XuS8HF1=5S71rsY_=7O9Q@mail.gmail.com>
URL: https://gitlist.dev/e/BANLkTi%3Dx%2B5yL3XuS8HF1%3D5S71rsY_%3D7O9Q%40mail.gmail.com
In-Reply-To: <git/git/pull/9/c1372088@github.com>

```
The git-new-workdir script creates copies of files instead of symbolic
links, when run from Git Bash on Windows Vista. I modified it to use
mklink via cmd.exe.  I have an open pull request on GitHub:
https://github.com/git/git/pull/9.

I'm not sure how permanent that link is, so here is a link to the file
in my fork of git:
https://github.com/dansmith65/git/blob/master/contrib/workdir/git-new-workdir-win

- Dan

---------- Forwarded message ----------
From: snaewe <reply+i-1057590-454ecf9c3cc5385e5ea53b0726af874fd2ef4b00@reply.github.com>
Date: Wed, Jun 15, 2011 at 1:31 AM
Subject: Re: [git] git-new-workdir for Windows (#9)
To: dansmith65@gmail.com


I guess this might get more attention at the git mailing list at
git@vger.kernel.org.

--
Reply to this email directly or view it on GitHub:
https://github.com/git/git/pull/9#issuecomment-1372088

```

## Ramkumar Ramachandra, 2011-06-20 05:50

Subject: Re: git-new-workdir for Windows (#9)
Message-ID: <BANLkTinosK6uDdqoRwk8j20y08JwM2HxTw@mail.gmail.com>
URL: https://gitlist.dev/e/BANLkTinosK6uDdqoRwk8j20y08JwM2HxTw%40mail.gmail.com
In-Reply-To: <BANLkTi=x+5yL3XuS8HF1=5S71rsY_=7O9Q@mail.gmail.com>

```
Hi Daniel,

Daniel Smith writes:
> The git-new-workdir script creates copies of files instead of symbolic
> links, when run from Git Bash on Windows Vista. I modified it to use
> mklink via cmd.exe.  I have an open pull request on GitHub:
> https://github.com/git/git/pull/9.
>
> I'm not sure how permanent that link is, so here is a link to the file
> in my fork of git:
> https://github.com/dansmith65/git/blob/master/contrib/workdir/git-new-workdir-win

Thank you for fixing this.  However, we can't accept patches via pull
requests on GitHub.  Please read Documentation/SubmittingPatches to
submit a neatly formatted patch so that we can consider it for
inclusion.  Also, please consider patching the existing
git-new-workdir script to work with GitBash instead of creating one
from scratch.

Thanks.

-- Ram

```
