git-annex/CmdLine
Joey Hess 54ad1b4cfb
Windows: Support long filenames in more (possibly all) of the code
Works around this bug in unix-compat:
https://github.com/jacobstanley/unix-compat/issues/56
getFileStatus and other FilePath using functions in unix-compat do not do
UNC conversion on Windows.

Made Utility.RawFilePath use convertToWindowsNativeNamespace to do the
necessary conversion on windows to support long filenames.

Audited all imports of System.PosixCompat.Files to make sure that no
functions that operate on FilePath were imported from it. Instead, use
the equvilants from Utility.RawFilePath. In particular the
re-export of that module in Common had to be removed, which led to lots
of other changes throughout the code.

The changes to Build.Configure, Build.DesktopFile, and Build.TestConfig
make Utility.Directory not be needed to build setup. And so let it use
Utility.RawFilePath, which depends on unix, which cannot be in
setup-depends.

Sponsored-by: Dartmouth College's Datalad project
2023-03-01 15:55:58 -04:00
..
GitAnnex move/copy: option parsing for --from with --to 2023-01-18 14:42:39 -04:00
GitAnnexShell remove git-annex-shell compat code 2021-10-11 15:36:51 -04:00
Action.hs Improved handling of --time-limit when combined with -J 2022-09-22 12:54:52 -04:00
AnnexSetter.hs remove --backend from global options 2022-06-29 13:33:25 -04:00
Batch.hs use lookupKeyStaged in --batch code paths 2022-10-26 14:43:06 -04:00
GitAnnex.hs findkeys: New command, very similar to git-annex find but operating on keys 2023-01-17 14:51:57 -04:00
GitAnnexShell.hs remove --backend from global options 2022-06-29 13:33:25 -04:00
GitRemoteTorAnnex.hs avoid flushing keys db queue after each Annex action 2022-10-12 14:12:23 -04:00
Option.hs remove --backend from global options 2022-06-29 13:33:25 -04:00
Seek.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Usage.hs add FIELD?=GLOB to git-annex view usage 2023-02-07 18:09:10 -04:00