diff options
author | Joey Hess <joey@kitenet.net> | 2011-01-26 16:20:28 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-01-26 16:20:28 -0400 |
commit | 7f6af79232eee685daf58e72737c5284f80cf482 (patch) | |
tree | e3ec0e7612845e056df355c6841ee9a58e603d52 /Remotes.hs | |
parent | 7b2da21ab7bc51785203a69cc05ab811a8629ecb (diff) |
trust setting improvements
Diffstat (limited to 'Remotes.hs')
-rw-r--r-- | Remotes.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Remotes.hs b/Remotes.hs index e8a78a59e..fe5b7f767 100644 --- a/Remotes.hs +++ b/Remotes.hs @@ -222,6 +222,7 @@ same a b = Git.repoRemoteName a == Git.repoRemoteName b {- Looks up a remote by name. -} byName :: String -> Annex Git.Repo +byName "." = Annex.gitRepo -- special case to refer to current repository byName name = do when (null name) $ error "no remote specified" g <- Annex.gitRepo |