about summary refs log tree commit diff
path: root/ui-diff.c
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-02-01 17:55:37 +0100
committerLars Hjemli <hjemli@gmail.com>2010-02-27 12:47:57 +0100
commit8d946079c5f51ce934ff5edf6333962c6061d8a5 (patch)
tree6d62be9c7f5e498f55a8c38f29b831fc3fc1d6b0 /ui-diff.c
parentCGIT 0.8.3.1 (diff)
downloadcgit-pink-8d946079c5f51ce934ff5edf6333962c6061d8a5.tar.gz
cgit-pink-8d946079c5f51ce934ff5edf6333962c6061d8a5.zip
ui-shared.c: fix segfault when repo is empty
PATH_INFO="/$REPONAME/commit/?id=1" QUERY_STRING="id=1" ./cgit.cgi
triggers segfault when the repository is empty and therefore
ctx.qry.head is unset

Signed-off-by: Florian Pritz <bluewind@xssn.at>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-diff.c')
0 files changed, 0 insertions, 0 deletions
span title='2021-01-27 14:18:20 -0500'>2021-01-27Change default timestamp format to %XJune McEnroe 2021-01-27Add toggleable display of timestampsJune McEnroe 2021-01-26Only list up until scroll position with M-lJune McEnroe 2021-01-26Preserve scroll position across reflowsJune McEnroe 2021-01-26Add numbers to buffer linesJune McEnroe 2021-01-26Rename and move scroll functions closer to where they are usedJune McEnroe 2021-01-26Factor out windowReflowJune McEnroe 2021-01-26Use Warm heat for replies to user-initiated commandsJune McEnroe 2021-01-26Clarify configuration path interpretationsJune McEnroe 2021-01-26Tighten up XDG base directory path handlingJune McEnroe 2021-01-26Expand the opening paragraph of the manualJune McEnroe 2021-01-25Disable notify in restricted modeJune McEnroe 2021-01-25Don't print timestamps for blank lines in bufferListJune McEnroe 2021-01-25Do not copy time to wrapped linesJune McEnroe 2021-01-25Add protocol coverage to non-features listJune McEnroe 2021-01-25Move mention of pledge(2) and unveil(2) to READMEJune McEnroe 2021-01-23Preserve order of filters when removingJune McEnroe 2021-01-23Fix /unignore commandJune McEnroe 2021-01-23Remove use of "%n" to appease de RaadtJune McEnroe 2021-01-23Drop filesystem access iff possibleKlemens Nanni 2021-01-23Drop exec capability iff restrictedKlemens Nanni 2021-01-23Drop network capability after ircConnect()Klemens Nanni 2021-01-23Call pledge(2) after unveil(2)Klemens Nanni 2021-01-23Separate kiosk mode from restrict modeJune McEnroe 2021-01-21Simplify windowUpdate loops and factor out windowTopJune McEnroe 2021-01-21Document that M-l shows timestampsJune McEnroe 2021-01-19Don't lose swapped window when navigating to current bufferJeremy O'Brien 2021-01-19Use Warm heat for manually inserted blank linesJune McEnroe 2021-01-18Add example tmux(1) configKlemens Nanni 2021-01-17Use Warm heat for blank linesJune McEnroe 2021-01-16Add -I highlight option and /highlightJune McEnroe