]> dgit.raspbian.org Git - git-annex.git/commit
improve warning message when unable to update export
authorJoey Hess <joeyh@joeyh.name>
Mon, 11 Sep 2023 18:21:36 +0000 (14:21 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 11 Sep 2023 18:21:36 +0000 (14:21 -0400)
commitaeaadb8eb802e9f8f806f358960f339a0b950f54
treee93e3697db7febcf42b30acf9be9953aa44ebb2c
parentf3e5fc6d8953bdab429a35cff6984f39a394e337
improve warning message when unable to update export

A misleading message was displayed in several cases.

If the user has run eg: git config
remote.push-win-remote.annex-tracking-branch 'adjusted/main(unlocked)'
That is not supported, and now it will tell them it's not a valid
configuration. A user reported doing that, but I don't know if it's a
common point of confusion. If it is a common problem, a better message
would be possible, or it could convert back from the adjusted branch to
the actual branch.

Sponsored-by: Graham Spencer on Patreon
Command/Sync.hs