diff options
author | Joey Hess <joey@kitenet.net> | 2012-01-08 16:05:57 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-01-08 16:05:57 -0400 |
commit | 7675b83efa77527c0b04b87e35f83df67e6af8d7 (patch) | |
tree | b3d1c0bc36cb705bb9c0bc8ed2d087b33fbcdc0f | |
parent | fc669100e5fdf300e2cfbbc1a1ca5d99b03cc564 (diff) |
map: Fix display of remote repos
A change to break local cycles made remote repos be dropped entirely.
-rw-r--r-- | Command/Map.hs | 1 | ||||
-rw-r--r-- | debian/changelog | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Command/Map.hs b/Command/Map.hs index 0f32e1130..faaa89392 100644 --- a/Command/Map.hs +++ b/Command/Map.hs @@ -155,6 +155,7 @@ spider' (r:rs) known absRepo :: Git.Repo -> Git.Repo -> Annex Git.Repo absRepo reference r | Git.repoIsUrl reference = return $ Git.Construct.localToUrl reference r + | Git.repoIsUrl r = return r | otherwise = liftIO $ Git.Construct.fromAbsPath =<< absPath (Git.workTree r) {- Checks if two repos are the same. -} diff --git a/debian/changelog b/debian/changelog index f61a4c799..5f9f7ee61 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ git-annex (3.20120107) UNRELEASED; urgency=low * log: Add --gource mode, which generates output usable by gource. + * map: Fix display of remote repos -- Joey Hess <joeyh@debian.org> Sat, 07 Jan 2012 18:12:09 -0400 |