"here" can be used to refer to the current repository, which can read better than the old "." (which still works too).
This commit is contained in:
parent
478fdc8a5d
commit
1098bc37ab
4 changed files with 13 additions and 4 deletions
|
@ -90,6 +90,7 @@ byName' n = do
|
|||
- .git/config. -}
|
||||
nameToUUID :: String -> Annex UUID
|
||||
nameToUUID "." = getUUID -- special case for current repo
|
||||
nameToUUID "here" = getUUID
|
||||
nameToUUID "" = error "no remote specified"
|
||||
nameToUUID n = byName' n >>= go
|
||||
where
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue