aboutsummaryrefslogtreecommitdiff
path: root/Git
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-07-06 15:25:41 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-07-06 15:33:44 -0400
commit025d21453124a8d6b6997b15eecf4e643195d581 (patch)
tree21d6cb51000b3f8adf855653c143f53d7cea4891 /Git
parent6e1d4ae692061b74c06fcc227c5d731513b513de (diff)
Support git's undocumented core.sharedRepository=2 value, which is equivilant to "world".
Diffstat (limited to 'Git')
-rw-r--r--Git/SharedRepository.hs1
1 files changed, 1 insertions, 0 deletions
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