* Tab completion of options like --from now includes special remotes.
* Fix Windows build with Win32 2.13.4+
Thanks, Oleg Tolmatcev
+ * When --debugfilter or annex.debugfilter is set, avoid propigating
+ debug output from git-annex-shell, since it cannot be filtered.
-- Joey Hess <id@joeyh.name> Mon, 03 Jun 2024 13:03:21 -0400
{- git-annex remote access with ssh and git-annex-shell
-
- - Copyright 2011-2022 Joey Hess <id@joeyh.name>
+ - Copyright 2011-2024 Joey Hess <id@joeyh.name>
-
- Licensed under the GNU AGPL version 3 or higher.
-}
import Utility.Metered
import Utility.Rsync
import Utility.SshHost
+import Utility.Debug
import Types.Remote
import Types.Transfer
import Config
shellcmd = "git-annex-shell"
getshellopts = do
debugenabled <- Annex.getRead Annex.debugenabled
- let params' = if debugenabled
- then Param "--debug" : params
- else params
+ debugselector <- Annex.getRead Annex.debugselector
+ let params' = case (debugenabled, debugselector) of
+ (True, NoDebugSelector) -> Param "--debug" : params
+ _ -> params
return (Param command : File (fromRawFilePath dir) : params')
uuidcheck NoUUID = []
uuidcheck u@(UUID _) = ["--uuid", fromUUID u]