Re: [PATCH 4/5] Test and fix normalize_path_copy()
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Feb 8, 2009, 08:52 UTC
- Message-ID
- <200902080952.53478.j6t@kdbg.org>
- In-Reply-To
- <200902080108.50550.robin.rosenberg.lists@dewire.com>
On Sonntag, 8. Februar 2009, Robin Rosenberg wrote:
> For Windows leading // is special indicating a UNC > path and should not be changed to /. > > //foo/bar is different from /foo/bar
Indeed. But stripping the double-dash would bite you only if you are using GIT_CEILING_DIRECTORIES or if you tend to call eg. git add with absolute paths; and that only if your repository lives in a UNC share, which is a rather odd use-case.
In particular, it does *not* affect fetch and push etc. so that you can have a remote repository on an UNC share.
-- Hannes