summaryrefslogtreecommitdiff
path: root/scan-tree.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2008-12-03 17:34:23 +0100
committerLars Hjemli <hjemli@gmail.com>2008-12-03 17:34:23 +0100
commita1b01b2513510f8f93f7f8ca39969002cd496a19 (patch)
tree143e569416a89b31de6f96e8e79f8841c24dd935 /scan-tree.c
parentc7d1402b177f4cf835e81f962e2faa3c9e28c549 (diff)
downloadcgit-a1b01b2513510f8f93f7f8ca39969002cd496a19.tar.gz
cgit-a1b01b2513510f8f93f7f8ca39969002cd496a19.tar.bz2
cgit-a1b01b2513510f8f93f7f8ca39969002cd496a19.zip
ui-log: try to disambiguate ref names
The 'h' querystring parameter in cgit is normally used to specify a branch (i.e. a ref below refs/heads/), but if a repository contains a tag with the same name as a branch the output from ui-log would use the tag as start-revision. This patch tries to fix the issue by checking if the specified ref is valid as a branch name; if so, the full refname is used in the call to setup_revisions(). Noticed-by: Takamori Yamaguchi <akschar@gmail.com> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
tr> 2010-04-07More screenshotsRené 'Necoro' Neumann10-1/+6 2010-04-07Changes fixedRené 'Necoro' Neumann1-1/+1 2010-04-07ChangesRené 'Necoro' Neumann2-5/+3 2010-04-07ScreenshotsRené 'Necoro' Neumann5-1/+66 2010-04-07Added highslideRené 'Necoro' Neumann28-0/+412 2010-04-07Noscript handling for TOCRené 'Necoro' Neumann1-1/+9 2010-04-07Created tmp directoryRené 'Necoro' Neumann2-0/+1 2010-04-07DownloadRené 'Necoro' Neumann1-1/+1 2010-04-07Development pageRené 'Necoro' Neumann2-2/+51 2010-04-07Menu reorderingRené 'Necoro' Neumann1-2/+2 2010-04-07Screenshot pageRené 'Necoro' Neumann2-0/+7 2010-04-07ForumsRené 'Necoro' Neumann1-0/+6 2010-04-07Some more tocRené 'Necoro' Neumann2-3/+9 2010-04-07Use 'Found' instead of 'Redirect'René 'Necoro' Neumann1-1/+1 2010-04-07Sanitized JSRené 'Necoro' Neumann2-15/+14 2010-04-07Fixed CSS; added stuff for TOCRené 'Necoro' Neumann1-8/+19 2010-04-07Renamed 'menu' to the correct 'toc'René 'Necoro' Neumann2-8/+8 2010-04-07Default argument for 404René 'Necoro' Neumann1-1/+1 2010-04-07Javascript to generate TOCsRené 'Necoro' Neumann4-1/+63