Bugfix: export --tracking (a deprecated option) set annex-annex-tracking-branch, instead of annex-tracking-branch.

(cherry picked from commit a3a674d15b)
This commit is contained in:
Joey Hess 2020-02-19 13:34:24 -04:00
parent e535da621c
commit d37975357d
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 3 additions and 1 deletions

View file

@ -9,6 +9,8 @@ git-annex (7.20200226) upstream; urgency=high
(Some debugging junk had crept in.)
* Bugfix to getting content from an export remote with -J, when the
export database was not yet populated.
* Bugfix: export --tracking (a deprecated option) set
annex-annex-tracking-branch, instead of annex-tracking-branch.
-- Joey Hess <id@joeyh.name> Wed, 26 Feb 2020 17:18:16 -0400

View file

@ -81,7 +81,7 @@ seek o = do
-- handle deprecated option
when (exportTracking o) $
setConfig (remoteConfig r "annex-tracking-branch")
setConfig (remoteConfig r "tracking-branch")
(fromRef $ exportTreeish o)
tree <- filterPreferredContent r =<<