二〇一六年二月十九日
Gitweb - custom impl
This is a custom setup for getting a commit message on gitweb.
git_commit_message
1 2 3 4 5 6 7 8 9 10 11 12 | # To create a new action, modify /usr/share/gitweb/gitweb.cgi # search for "our %actions" add a new line: "commit_message" => \&git_commit_message # Then append this simple sub I wrote sub git_commit_message { $hash ||= $hash_base || "HEAD" ; my %co = parse_commit( $hash ) or die_error(404, "Unknown commit object" ); git_print_log( $co { 'comment' }); } |

Fri Feb 19 2016 19:45:19 GMT+0000 (Coordinated Universal Time)
Last modified: Fri Feb 19 2016 19:45:38 GMT+0000 (Coordinated Universal Time)
Comments
No comments here.
Do you even comment?
website:
Not a valid website
Invalid email format
Please enter your email
*Name:
Please enter a name
Submit
抱歉,Google Recaptcha 服務被牆掉了,所以不能回覆了