threads / discuss / 27629

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

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

## tl;dr

2 messages between Jun 15, 2011 and Jun 20, 2011.

replies: 1people: 2as markdown or json

Daniel Smith· Jun 15, 2011, 16:24 UTC · lore

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· Jun 20, 2011, 05:50 UTC · re: Daniel Smith · lore

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

Hi Daniel,
Daniel Smith writes:
Show 8 quoted lines
> 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

← back to recent threads