← Back to team overview

dulwich-users team mailing list archive

[PATCH 0 of 1] repo.init{,_bare} fix

 

Found this while toying around more with hgit adding init
support. Without this patch, all repositories are created with bare =
true in .git/config, even if a non-bare repository was created.

I don't care for the use of the singleton for _unset, but I wasn't
quite clear if it'd be OK to change the behavior of that method
entirely - I only see one other call site, also in dulwich.repo, so if
it'd be alright to just require callers to specify bare to _init_files
I think I'd rather just require passing that parameter than trying to
do something clever for the default.

Peace,
Augie



Follow ups