summaryrefslogtreecommitdiff
path: root/Remote.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-03-01 22:35:10 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-03-01 22:35:10 -0400
commit1098bc37ab2aea2510ef41f9d9f6a6909b252cdd (patch)
tree5b33cd5dee712d71d3df0fdc20f5208ee1eed907 /Remote.hs
parent478fdc8a5d8b87b6ccbdff61e1e2e88032d34b48 (diff)
"here" can be used to refer to the current repository, which can read better than the old "." (which still works too).
Diffstat (limited to 'Remote.hs')
-rw-r--r--Remote.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Remote.hs b/Remote.hs
index f676ddddc..b3f464f5c 100644
--- a/Remote.hs
+++ b/Remote.hs
@@ -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