Commit 1f684dc
gitweb: only display "next" links in logs if there is a next page
There was a bug in the implementation of the "next" links in
format_paging_nav (for log and shortlog), which caused the next links
to always be displayed, even if there is no next page. This fixes it.
Signed-off-by: Lea Wiemann <LeWiemann@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent a17171b commit 1f684dc
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2676 | 2676 | | |
2677 | 2677 | | |
2678 | 2678 | | |
2679 | | - | |
| 2679 | + | |
2680 | 2680 | | |
2681 | 2681 | | |
2682 | 2682 | | |
| |||
2694 | 2694 | | |
2695 | 2695 | | |
2696 | 2696 | | |
2697 | | - | |
| 2697 | + | |
2698 | 2698 | | |
2699 | 2699 | | |
2700 | 2700 | | |
| |||
4585 | 4585 | | |
4586 | 4586 | | |
4587 | 4587 | | |
4588 | | - | |
| 4588 | + | |
4589 | 4589 | | |
4590 | 4590 | | |
4591 | 4591 | | |
| |||
5505 | 5505 | | |
5506 | 5506 | | |
5507 | 5507 | | |
5508 | | - | |
| 5508 | + | |
5509 | 5509 | | |
5510 | 5510 | | |
5511 | 5511 | | |
| |||
0 commit comments