From 025d21453124a8d6b6997b15eecf4e643195d581 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 6 Jul 2015 15:25:41 -0400 Subject: Support git's undocumented core.sharedRepository=2 value, which is equivilant to "world". --- Git/SharedRepository.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'Git') diff --git a/Git/SharedRepository.hs b/Git/SharedRepository.hs index 3aab1e39a..1e7382388 100644 --- a/Git/SharedRepository.hs +++ b/Git/SharedRepository.hs @@ -19,6 +19,7 @@ getSharedRepository :: Repo -> SharedRepository getSharedRepository r = case map toLower $ Git.Config.get "core.sharedrepository" "" r of "1" -> GroupShared + "2" -> AllShared "group" -> GroupShared "true" -> GroupShared "all" -> AllShared -- cgit v1.2.3