summaryrefslogtreecommitdiff
path: root/Git/FilePath.hs
Commit message (Collapse)AuthorAge
* Windows: Fix handling of absolute unix-style git repository paths.Gravatar Joey Hess2014-02-08
| | | | | | | | | | | | | Note that on Windows a remote with a path like /home/foo/bar is interpreted by git as being some screwy relative path (relative to what exactly seems ill-defined -- it seemed relative to C:\Program Files\Git\ in my tests!) So no attempt has been made to handle such a path sanely, just not to crash when encountering it. Note that "C:\\foo" </> "/home/foo/bar" yields /home/foo/bar even though that is not absolute! I don't know what to make of all this, except that I will be very happy when this crock of **** vanishes from the face of the earth.
* remove workaroundGravatar Joey Hess2014-02-08
| | | | | This was needed when absNormPath was not being used on Windows, since path normalization includes removing ./
* work around msysgit very strange behavior on ./ or .\ at start of pathGravatar Joey Hess2013-12-04
| | | | | Seems that verify_path() rejects such a path on Windows, but I cannot see why. Git bug?
* use TopFilePath for DiffTree and LsTreeGravatar Joey Hess2013-10-17
|
* get rid of __WINDOWS__, use mingw32_HOST_OSGravatar Joey Hess2013-08-02
| | | | | The latter is harder for me to remember, but avoids build failures in code used by the configure program.
* fix the day's windows permissions damageGravatar Joey Hess2013-05-12
|
* deal with git using / internally, even on DOSGravatar Joey Hess2013-05-12
|
* add support for staging other types of blobs, like symlinks, into the indexGravatar Joey Hess2012-06-06
Also added a utility TopFilePath type, which could stand to be used more widely.