about summary refs log tree commit diff stats
path: root/tests/t0105-commit.sh
diff options
context:
space:
mode:
authorLars Hjemli2007-05-16 00:14:51 +0200
committerLars Hjemli2007-05-16 00:16:00 +0200
commitb28b105ec172b258ae5d629381a5890697c2f938 (patch)
tree0673dc5ed94c8ce99c714d1204b6582f9ba96fc5 /tests/t0105-commit.sh
parentRestrict deep nesting of configfiles (diff)
downloadcgit-b28b105ec172b258ae5d629381a5890697c2f938.tar.gz
cgit-b28b105ec172b258ae5d629381a5890697c2f938.zip
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 <hjemli@gmail.com>
Diffstat (limited to 'tests/t0105-commit.sh')
0 files changed, 0 insertions, 0 deletions