Fix bug in git-annex copy --from --to
Caused it to skip files that were locally present. Sponsored-by: Dartmouth College's DANDI project
This commit is contained in:
parent
f2f6dbe46b
commit
7a8393ce7d
3 changed files with 12 additions and 1 deletions
|
@ -17,6 +17,8 @@ git-annex (10.20230927) UNRELEASED; urgency=medium
|
||||||
display how the size of repositories changed over time.
|
display how the size of repositories changed over time.
|
||||||
* log: Added options --interval, --bytes, --received, and --gnuplot
|
* log: Added options --interval, --bytes, --received, and --gnuplot
|
||||||
to tune the output of the above added options.
|
to tune the output of the above added options.
|
||||||
|
* Fix bug in git-annex copy --from --to that skipped files that were
|
||||||
|
locally present.
|
||||||
|
|
||||||
-- Joey Hess <id@joeyh.name> Tue, 10 Oct 2023 13:17:31 -0400
|
-- Joey Hess <id@joeyh.name> Tue, 10 Oct 2023 13:17:31 -0400
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,7 @@ seek' o fto = startConcurrency (Command.Move.stages fto) $ do
|
||||||
FromOrToRemote (FromRemote _) -> Just False
|
FromOrToRemote (FromRemote _) -> Just False
|
||||||
FromOrToRemote (ToRemote _) -> Just True
|
FromOrToRemote (ToRemote _) -> Just True
|
||||||
ToHere -> Just False
|
ToHere -> Just False
|
||||||
FromRemoteToRemote _ _ -> Just False
|
FromRemoteToRemote _ _ -> Nothing
|
||||||
, usesLocationLog = True
|
, usesLocationLog = True
|
||||||
}
|
}
|
||||||
keyaction = Command.Move.startKey fto Command.Move.RemoveNever
|
keyaction = Command.Move.startKey fto Command.Move.RemoveNever
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
[[!comment format=mdwn
|
||||||
|
username="joey"
|
||||||
|
subject="""comment 2"""
|
||||||
|
date="2023-11-17T20:27:37Z"
|
||||||
|
content="""
|
||||||
|
> So the file content being present locally prevents it sending it to the remote!
|
||||||
|
|
||||||
|
Fixed that.
|
||||||
|
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue