mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 16:38:42 +00:00
Merge branch 'stable'
This commit is contained in:
commit
25f6a1f4c2
@ -15,7 +15,7 @@ run_test 'find line 1' '
|
|||||||
'
|
'
|
||||||
|
|
||||||
run_test 'no line 2' '
|
run_test 'no line 2' '
|
||||||
grep -e "<a id=.n2. name=.n2. href=.#n2.>2</a>" trash/tmp
|
! grep -e "<a id=.n2. name=.n2. href=.#n2.>2</a>" trash/tmp
|
||||||
'
|
'
|
||||||
|
|
||||||
run_test 'generate foo+bar/tree' 'cgit_url "foo%2bbar/tree" >trash/tmp'
|
run_test 'generate foo+bar/tree' 'cgit_url "foo%2bbar/tree" >trash/tmp'
|
||||||
|
@ -54,8 +54,10 @@ static void print_object(const unsigned char *sha1, char *path)
|
|||||||
}
|
}
|
||||||
idx++;
|
idx++;
|
||||||
}
|
}
|
||||||
htmlf(linefmt, ++lineno);
|
if (start < idx) {
|
||||||
html_txt(buf + start);
|
htmlf(linefmt, ++lineno);
|
||||||
|
html_txt(buf + start);
|
||||||
|
}
|
||||||
html("</td></tr>\n");
|
html("</td></tr>\n");
|
||||||
html("</table>\n");
|
html("</table>\n");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user