projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6692b6
)
avoid transferrer committing the git-annex branch on shutdown
author
Joey Hess
<joeyh@joeyh.name>
Fri, 11 Dec 2020 20:16:07 +0000
(16:16 -0400)
committer
Joey Hess
<joeyh@joeyh.name>
Fri, 11 Dec 2020 20:16:07 +0000
(16:16 -0400)
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.
Command/Transferrer.hs
patch
|
blob
|
history
diff --git
a/Command/Transferrer.hs
b/Command/Transferrer.hs
index 116c64c5a323ded6d23ce3300afe35a0de6fbb56..0687305e71535cd76348e0ab218d7450557616d8 100644
(file)
--- 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