about summary refs log tree commit diff
path: root/scan-tree.h
diff options
context:
space:
mode:
authorLukas Fleischer <cgit@cryptocrack.de>2013-03-05 16:48:27 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2013-03-20 21:08:32 +0100
commit977a3ad7bf212e6ec7f43c16763321061ee64a69 (patch)
tree49b80b6cac3e0d66e7ff73ef45d42f66ac8c5859 /scan-tree.h
parentFix colspan values (diff)
downloadcgit-pink-977a3ad7bf212e6ec7f43c16763321061ee64a69.tar.gz
cgit-pink-977a3ad7bf212e6ec7f43c16763321061ee64a69.zip
ui-summary.c: Move urls variable into print_urls()
There's no need for this variable to be global. Printing the header in
print_urls() instead of print_url() allows for moving this variable into
print_urls() without having to pass any status to print_url().

Note that this only works as long as we don't call print_urls() more
than once.

Signed-off-by: Lukas Fleischer <cgit@cryptocrack.de>
Diffstat (limited to 'scan-tree.h')
0 files changed, 0 insertions, 0 deletions
usal.agency/cgit/tests/t0111-filter.sh?id=897cc5db68046d60abdc898a6aeaacf60d5e9fcd&follow=1'>Remove Lua supportJune McEnroe 2021-01-20Fix tests for diff spansJune McEnroe 2021-01-20Avoid matching ':' in make tagsJune McEnroe 2021-01-19Prefer tag matches not preceded by [[:alnum:]]June McEnroe 2021-01-19Escape \ and / in mtags search patternsJune McEnroe 2021-01-20Use mtags in source-filterJune McEnroe 2021-01-19Add mtags to generate tags for make and mdocJune McEnroe 2021-01-19Map tags to IDs using only [[:alnum:]-._]June McEnroe 2021-01-19Don't use a pager if reading standard inputJune McEnroe 2021-01-19Support BSD make syntax and match *.amJune McEnroe 2021-01-19Match tab following escaped newline in make assignmentsJune McEnroe 2021-01-18Allow matching lexers using first input lineJune McEnroe