From: Lars Hjemli Date: Tue, 15 May 2007 22:14:51 +0000 (+0200) Subject: Enable default value for head parameter X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/b28b105ec172b258ae5d629381a5890697c2f938?ds=inline;hp=b28b105ec172b258ae5d629381a5890697c2f938 Enable default value for head parameter Pages which expect head to be specified in the querystring can now be given a default value, configurable per repository (via repo.defbranch, which defaults to "master"). Currently, only the log page actually works without parameters, but the defbranch is bound to be exploited. This also removes some dead code from shared.c Signed-off-by: Lars Hjemli ---