1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-25 01:06:50 +00:00

remove comment about strange hardlink_masters term

(maybe revisit this later, this is not in scope of the generic hardlinks refactor)
This commit is contained in:
Thomas Waldmann 2017-04-05 13:54:58 +02:00
parent 8f769a9b24
commit 155f38c233

View file

@ -519,7 +519,7 @@ def extract_helper(self, dest, item, path, stripped_components, original_path, h
# assign chunks to this item, since the item which had the chunks was not extracted
item.chunks = chunks
yield hardlink_set
if not hardlink_set and hardlink_masters: # 2nd term, is it correct/needed?
if not hardlink_set and hardlink_masters:
# Update master entry with extracted item path, so that following hardlinks don't extract twice.
hardlink_masters[item.get('source') or original_path] = (None, path)