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.
|
||||
recordExport :: UUID -> Git.Ref -> ExportChange -> Annex ()
|
||||
recordExport remoteuuid tree ec = do
|
||||
recordExportTreeish tree
|
||||
when (oldTreeish ec /= [tree]) $
|
||||
recordExportTreeish tree
|
||||
recordExportUnderway remoteuuid ec
|
||||
|
||||
parseExportLog :: L.ByteString -> MapLog ExportParticipants Exported
|
||||
|
|
Loading…
Reference in a new issue