git-annex/Git
Joey Hess 2ff716be30
OsPath build flag no longer depends on filepath-bytestring
However, filepath-bytestring is still in Setup-Depends.
That's because Utility.OsPath uses it when not built with OsPath.
It would be maybe possible to make Utility.OsPath fall back to using
filepath, and eliminate that dependency too, but it would mean either
wrapping all of System.FilePath's functions, or using `type OsPath = FilePath`

Annex.Import uses ifdefs to avoid converting back to FilePath when not
on windows. On windows it's a bit slower due to that conversion.
Utility.Path.Windows.convertToWindowsNativeNamespace got a bit
slower too, but not really worth optimising I think.

Note that importing Utility.FileSystemEncoding at the same time as
System.Posix.ByteString will result in conflicting definitions for
RawFilePath. filepath-bytestring avoids that by importing RawFilePath
from System.Posix.ByteString, but that's not possible in
Utility.FileSystemEncoding, since Setup-Depends does not include unix.
This turned out not to affect any code in git-annex though.

Sponsored-by: Leon Schuermann
2025-02-10 16:39:55 -04:00
..
Command update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Remote Removed support for git versions older than 2.1 2019-09-11 16:14:43 -04:00
AutoCorrect.hs Support help.autocorrect settings "never" and "immediate" 2025-01-20 11:01:07 -04:00
Branch.hs remove dead code 2024-06-10 14:28:58 -04:00
BuildVersion.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Bundle.hs git-remote-annex: Require git version 2.31 or newer 2024-11-20 15:00:17 -04:00
CatFile.hs more OsPath conversion 2025-01-24 15:02:29 -04:00
CheckAttr.hs more OsPath conversion 2025-01-24 13:40:44 -04:00
CheckIgnore.hs more OsPath conversion (639/749) 2025-02-07 16:07:05 -04:00
Command.hs more OsPath conversion 2025-02-01 14:06:38 -04:00
Config.hs more OsPath conversion 2025-01-24 15:02:29 -04:00
ConfigTypes.hs Support core.sharedRepository=0xxx at long last 2023-04-26 17:03:29 -04:00
Construct.hs more OsPath conversion 2025-01-24 15:02:29 -04:00
Credential.hs cache credentials for p2phttp in memory 2024-07-23 18:45:02 -04:00
CurrentRepo.hs more OsPath conversion 2025-01-24 15:02:29 -04:00
DiffTree.hs more OsPath conversion 2025-01-24 15:02:29 -04:00
DiffTreeItem.hs ByteString Ref continued 2020-04-07 11:54:27 -04:00
Env.hs more OsPath conversion 2025-01-24 13:40:44 -04:00
FileMode.hs Fix ambigous typos 2023-03-17 15:14:47 -04:00
FilePath.hs more OsPath conversion 2025-01-24 13:40:44 -04:00
FilterProcess.hs more OsPath conversion (639/749) 2025-02-07 16:07:05 -04:00
Fsck.hs A few more of typo fixes/skip as detected with bleeding edge codespell 2024-05-01 20:06:08 -04:00
GCrypt.hs sync: Fix parsing of gcrypt::rsync:// urls that use a relative path 2023-03-23 15:20:00 -04:00
HashObject.hs Merge branch 'master' into ospath 2025-01-29 18:48:02 -04:00
History.hs convert to withCreateProcess for async exception safety 2020-06-03 15:48:09 -04:00
Hook.hs more OsPath conversion 2025-02-01 11:54:19 -04:00
Index.hs more OsPath conversion 2025-02-01 14:06:38 -04:00
LockFile.hs more OsPath conversion 2025-01-24 13:40:44 -04:00
Log.hs more OsPath conversion 2025-02-01 14:06:38 -04:00
LsFiles.hs more OsPath conversion 2025-02-01 14:06:38 -04:00
LsTree.hs more OsPath conversion 2025-01-24 15:02:29 -04:00
Merge.hs sync --quiet 2021-07-19 11:28:47 -04:00
Objects.hs more OsPath conversion 2025-01-24 15:02:29 -04:00
PktLine.hs filter out control characters in error messages 2023-04-10 13:50:51 -04:00
Queue.hs more OsPath conversion 2025-02-01 11:54:19 -04:00
Quote.hs more OsPath conversion (639/749) 2025-02-07 16:07:05 -04:00
Ref.hs more OsPath conversion 2025-01-24 15:02:29 -04:00
RefLog.hs ByteString Ref continued 2020-04-07 11:54:27 -04:00
Remote.hs annexInsteadOf config 2024-12-03 14:39:07 -04:00
Repair.hs more OsPath conversion 2025-02-04 16:09:47 -04:00
Sha.hs remove read of the heads 2024-09-26 18:43:59 -04:00
Ssh.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Status.hs more OsPath conversion 2025-01-24 15:02:29 -04:00
Tree.hs OsPath build flag no longer depends on filepath-bytestring 2025-02-10 16:39:55 -04:00
Types.hs more OsPath conversion (602/749) 2025-02-07 14:46:11 -04:00
UnionMerge.hs more OsPath conversion 2025-01-24 16:31:14 -04:00
UpdateIndex.hs more OsPath conversion (475/749) 2025-02-05 12:14:56 -04:00
Url.hs avoid partial functions in Git.Url 2021-01-18 15:07:23 -04:00
Version.hs work around git "defense in depth" breakage with git clone checking for hooks 2024-05-24 15:49:53 -04:00