avoid grafting in an imported tree when it's not changed
This just avoids some churn in the git-annex branch.
This commit is contained in:
parent
7916fc98a3
commit
f8aadbfb9b
1 changed files with 2 additions and 1 deletions
|
@ -148,7 +148,8 @@ recordExportUnderway remoteuuid ec = do
|
||||||
-- interrupted exports.
|
-- interrupted exports.
|
||||||
recordExport :: UUID -> Git.Ref -> ExportChange -> Annex ()
|
recordExport :: UUID -> Git.Ref -> ExportChange -> Annex ()
|
||||||
recordExport remoteuuid tree ec = do
|
recordExport remoteuuid tree ec = do
|
||||||
recordExportTreeish tree
|
when (oldTreeish ec /= [tree]) $
|
||||||
|
recordExportTreeish tree
|
||||||
recordExportUnderway remoteuuid ec
|
recordExportUnderway remoteuuid ec
|
||||||
|
|
||||||
parseExportLog :: L.ByteString -> MapLog ExportParticipants Exported
|
parseExportLog :: L.ByteString -> MapLog ExportParticipants Exported
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue