git-annex/Annex/AdjustedBranch
Joey Hess 9b1fe37818
improve adjusted branch name parsing to support adjusted view branches
An adjusted view branch has a name like
"adjusted/views/master(author=_)(unlocked)"
and so the adjustment starts at the last open paren, not the first open
paren.

Note that git-annex sync still does not do anything useful when run in
such a branch, because it does not realize that it is a view branch.
This is only groundwork for adjusted view branches.

This also fixes adjusted branches when the basis branch name contains
parens for some other reason, though that is not common in a git branch
name.

Sponsored-by: Boyd Stephen Smith Jr. on Patreon
2023-02-27 14:09:05 -04:00
..
Merge.hs Typo fix unncessary -> unnecessary. 2022-08-20 09:40:19 -04:00
Name.hs improve adjusted branch name parsing to support adjusted view branches 2023-02-27 14:09:05 -04:00