]> gitweb.ps.run Git - ps-cgit/commit
ui-log: honor id=sha1 on querystring
authorLars Hjemli <hjemli@gmail.com>
Sun, 17 Jun 2007 12:58:45 +0000 (14:58 +0200)
committerLars Hjemli <hjemli@gmail.com>
Sun, 17 Jun 2007 12:58:45 +0000 (14:58 +0200)
commitcd79c16844b4006d4fd6f4b82d2f6e7e19b20c8e
treec303d75883492c89ed3243eadb31bdf2f3b9e660
parent42a7eb9c73457319a3fd5441ff26046fc9b31dad
ui-log: honor id=sha1 on querystring

This teaches ui-log to prefer id=sha1 and fallback to h=rev if no id-
parameter is specified. With this change, summary, log, commit and tree
views now passes current branch using h parameter and current revision
using id parameter.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cgit.c
ui-log.c