[PATCH] guess default branch from HEAD
plenz at cis.fu-berlin.de
Thu Jun 16 16:59:21 CEST 2011
* Lars Hjemli <hjemli at gmail.com> [2011-06-13 12:18]:
> [Julius should have been CC'ed on this]
I'm on the list and happy that someone has a use case for this patch,
> > I hope this patch can be integrated into the official release.
> The last issue with this patch is that it invokes guess_defbranch() once
> per repository during scan-path processing, but never for repositories
> added manually to cgitrc. I think it shouldn't be invoked at all
> during scan-path but instead just once when a repo page has been
> selected, i.e. in prepare_repo_cmd().
You mentioned that before, I was not sure where to place it, though.
> I can add a fixup patch on top of the patch from Julius if there's
> no objections to this plan.
To the contrary, I'd appreciate your patch. Thanks. :-)
More information about the CGit