diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-07-06 15:25:41 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-07-06 15:33:44 -0400 |
commit | 025d21453124a8d6b6997b15eecf4e643195d581 (patch) | |
tree | 21d6cb51000b3f8adf855653c143f53d7cea4891 /Git | |
parent | 6e1d4ae692061b74c06fcc227c5d731513b513de (diff) |
Support git's undocumented core.sharedRepository=2 value, which is equivilant to "world".
Diffstat (limited to 'Git')
-rw-r--r-- | Git/SharedRepository.hs | 1 |
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 |