Last active
August 29, 2015 13:57
-
-
Save guyromm/9924533 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- /root/gitweb.cgi 2014-04-02 00:19:56.885072998 +0200 | |
| +++ /usr/lib/cgi-bin/gitweb.cgi 2014-04-02 00:38:59.125072998 +0200 | |
| @@ -5822,6 +5822,7 @@ | |
| if (defined $snapshot_links) { | |
| print " | " . $snapshot_links; | |
| } | |
| + print " | ".$commit; | |
| print "</td>\n" . | |
| "</tr>\n"; | |
| } | |
| @@ -5982,6 +5983,7 @@ | |
| "<td class=\"link\">" . | |
| $cgi->a({-href => href(action=>"shortlog", hash=>$ref{'fullname'})}, "shortlog") . " | " . | |
| $cgi->a({-href => href(action=>"log", hash=>$ref{'fullname'})}, "log") . " | " . | |
| + $cgi->a({-href => href(action=>"commitdiff", hash=>$ref{'fullname'}, "hash_parent"=>"staging")},"staging") . " | " . | |
| $cgi->a({-href => href(action=>"tree", hash=>$ref{'fullname'}, hash_base=>$ref{'fullname'})}, "tree") . | |
| "</td>\n" . | |
| "</tr>"; |
Author
guyromm
commented
Apr 1, 2014
- указываем коммит в каждой ссылке
- добавляем ссылку на дифф со стейджингом к каждому комиту.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment