summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorJohan Herland <johan@herland.net>2010-06-10 01:09:25 +0200
committerLars Hjemli <hjemli@gmail.com>2010-06-19 10:40:22 +0200
commit0e34c6d1ef32ea8f69019272fe72dbf2aeaba392 (patch)
treebf9bab4a08119d97071c2c7f324acab9f4e0c5f7 /README
parentc3f23d4571c06c979eddbd4c973163ba76c7e50f (diff)
downloadcgit-0e34c6d1ef32ea8f69019272fe72dbf2aeaba392.tar.gz
cgit-0e34c6d1ef32ea8f69019272fe72dbf2aeaba392.tar.bz2
cgit-0e34c6d1ef32ea8f69019272fe72dbf2aeaba392.zip
ui-shared: Remove needless cgit_get_cmd() call, and refactor hc() accordingly
The call to cgit_get_cmd() and the following fallback handling (to "summary" or "repoindex") in cgit_print_pageheader() is unnecessary, since the same fallback handling was already done when ctx.qry.page was set when cgit_get_cmd() was called from process_request() in cgit.c. As such, hc() can also be rewritten to simply compare the given 'page' string against ctx.qry.page. Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions
feld1-10/+15 2014-03-22clip: rename SELECTION to X_SELECTIONJason A. Donenfeld2-6/+6 2014-03-22Version bump ahead of release.Jason A. Donenfeld1-1/+1 2014-03-22Makefile: do not use recursion and organizeJason A. Donenfeld12-9/+7 2014-03-22clip: suppress kill errorJason A. Donenfeld2-3/+3 2014-03-22clip: do not race on osxJason A. Donenfeld1-5/+5 2014-03-22clip: use pkill instead of procJason A. Donenfeld1-1/+1 2014-03-20Keepass import should include root-level entriesErik Mackdanz1-0/+1 2014-03-20keepassx2pass: friendly title fieldPhilip Chase1-1/+24