summaryrefslogtreecommitdiff
path: root/Remote/Helper/Git.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Remote/Helper/Git.hs')
-rw-r--r--Remote/Helper/Git.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Remote/Helper/Git.hs b/Remote/Helper/Git.hs
index b405fd358..156d7ac28 100644
--- a/Remote/Helper/Git.hs
+++ b/Remote/Helper/Git.hs
@@ -30,3 +30,8 @@ guardUsable :: Git.Repo -> Annex a -> Annex a -> Annex a
guardUsable r fallback a
| Git.repoIsLocalUnknown r = fallback
| otherwise = a
+
+gitRepoInfo :: Git.Repo -> [(String, String)]
+gitRepoInfo r =
+ [ ("repository location", Git.repoLocation r)
+ ]