Re: [PATCH] Move all dashed form git commands to libexecdir
- From
Steffen Prohaska <prohaska@zib.de>
- Date
- Nov 30, 2007, 05:42 UTC
- Message-ID
- <1BC9698A-80D3-4189-B24B-7E3C4934B043@zib.de>
- In-Reply-To
- <20071130011748.GC11683@coredump.intra.peff.net>
On Nov 30, 2007, at 2:17 AM, Jeff King wrote:
Show 5 quoted lines
> > The only reason I have heard to remove them entirely is that Windows > doesn't properly support hardlinks, which I addressed in my other > mails > (and to which I have seen no rebuttal).
We don't have a problem with hardlinks for git-* commands in msysgit. The msysgit installer already creates hardlinks if installing on NTFS. On non-NTFS partitions, though, it needs to copy the files.
Note, this doesn't mean we love hardlinks in msysgit. Actually, msys does _not_ support them in its Unix emulation layer. So, for daily work git does not have hardlinks. For examples, the test script skip all hardlink related tests. The installer handles hardlinks using the Windows API directly and not using the Unix emulation layer.
We already have a setup that supports exporting only git and gitk to the a Windows Command Prompt (not the bash that comes with msysgit). If you choose this setup, a directory that contains only these two commands will be added to the system wide PATH. We use this indirection to hide all the the Unix tools that are included in msysgit (and needed by git) from the Windows Command Prompt.
Steffen