From: Joey Hess Date: Fri, 11 Dec 2020 20:16:07 +0000 (-0400) Subject: avoid transferrer committing the git-annex branch on shutdown X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~2^2^2~76^2~358 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4a8723246df90cc0abfee530030387774372132c;p=git-annex.git avoid transferrer committing the git-annex branch on shutdown The parent is will do it when it shuts down, and having both of them trying to do it at the same time seems like something good to avoid. --- diff --git a/Command/Transferrer.hs b/Command/Transferrer.hs index 116c64c5a3..0687305e71 100644 --- a/Command/Transferrer.hs +++ b/Command/Transferrer.hs @@ -22,7 +22,7 @@ import Types.Transferrer import qualified Utility.SimpleProtocol as Proto cmd :: Command -cmd = command "transferrer" SectionPlumbing "transfers content" +cmd = noCommit $ command "transferrer" SectionPlumbing "transfers content" paramNothing (withParams seek) seek :: CmdParams -> CommandSeek