Support git's undocumented core.sharedRepository=2 value, which is equivilant to "world".
This commit is contained in:
parent
48fd416206
commit
dbd41159e0
3 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue