Revert "Added --content-only flag for borg 1.2.4 in diff view"

This reverts commit e0fe766051.
This commit is contained in:
Henry Spanka 2023-04-01 20:13:31 +02:00
parent e0fe766051
commit f407032a76
No known key found for this signature in database
GPG Key ID: 172EF7A8F1ABD54A
2 changed files with 0 additions and 4 deletions

View File

@ -5,7 +5,6 @@ MIN_BORG_FOR_FEATURE = {
'ZSTD': parse_version('1.1.4'),
'JSON_LOG': parse_version('1.1.0'),
'DIFF_JSON_LINES': parse_version('1.1.16'),
'DIFF_CONTENT_ONLY': parse_version('1.2.4'),
'COMPACT_SUBCOMMAND': parse_version('1.2.0a1'),
'V122': parse_version('1.2.2'),
'V2': parse_version('2.0.0b1'),

View File

@ -28,9 +28,6 @@ class BorgDiffJob(BorgJob):
ret['cmd'].append('--json-lines')
ret['json_lines'] = True
if borg_compat.check('DIFF_CONTENT_ONLY'):
ret['cmd'].append('--content-only')
if borg_compat.check('V2'):
ret['cmd'].extend(['-r', profile.repo.url, archive_name_1, archive_name_2])
else: