Skip to contentSkip to conversation

git-new-workdir for Windows (#9)

DISCUSSION Daniel Smith 2 participants 2 messages Jun 15, 2016 2 messages not in the archive

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive

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: [email protected]

I guess this might get more attention at the git mailing list at [email protected].

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

#3 lore raw

Hi Daniel,

Quoted 8 lines · Daniel Smith

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