diff options
author | Joey Hess <joey@kitenet.net> | 2012-03-01 22:35:10 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-03-01 22:35:10 -0400 |
commit | 1098bc37ab2aea2510ef41f9d9f6a6909b252cdd (patch) | |
tree | 5b33cd5dee712d71d3df0fdc20f5208ee1eed907 /Remote.hs | |
parent | 478fdc8a5d8b87b6ccbdff61e1e2e88032d34b48 (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.hs | 1 |
1 files changed, 1 insertions, 0 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 |