avoid dup check of guardSafeToUseRepo
Speeds up init slightly, and reduces the number of syscalls by the dynamic linker. Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
parent
f184dca7de
commit
d4fd966396
4 changed files with 20 additions and 7 deletions
|
@ -35,6 +35,6 @@ perform s = do
|
|||
then return $ toUUID s
|
||||
else Remote.nameToUUID s
|
||||
storeUUID u
|
||||
initialize' False Nothing
|
||||
checkInitializeAllowed $ initialize' False Nothing
|
||||
Annex.SpecialRemote.autoEnable
|
||||
next $ return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue