{"thread":{"id":"5463","subject":"[PATCH] gitweb: Change the name of diff to parent link in \"commit\" view to \"diff","startedAt":"2006-09-03T21:43:03Z","lastAt":"2006-09-03T21:43:03Z","messageCount":1,"participants":["Jakub Narebski"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"26268","messageId":"200609032343.03657.jnareb@gmail.com","threadId":"5463","inReplyTo":null,"subject":"[PATCH] gitweb: Change the name of diff to parent link in \"commit\" view to \"diff","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2006-09-03T21:43:03Z","receivedAt":"2006-09-03T21:43:03Z","isPatch":true,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Change the name of diff to parent (current commit to one of parents)\nlink in \"commit\" view (git_commit subroutine) from \"commitdiff\" to\n\"diff\".  Let's leave \"commitdiff\" for equivalent of git-show, or\ngit-diff-tree with one revision, i.e. diff for a given commit to its\nparent (parents).\n\nSigned-off-by: Jakub Narebski <jnareb@gmail.com>\n---\nOne of the cases when commit message is larger than diff itself ;-)\nAgainst 'master'.\n\n gitweb/gitweb.perl |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl\nindex 57ffa25..2b40aa1 100755\n--- a/gitweb/gitweb.perl\n+++ b/gitweb/gitweb.perl\n@@ -2781,7 +2781,7 @@ sub git_commit {\n \t\t      \"<td class=\\\"link\\\">\" .\n \t\t      $cgi->a({-href => href(action=>\"commit\", hash=>$par)}, \"commit\") .\n \t\t      \" | \" .\n-\t\t      $cgi->a({-href => href(action=>\"commitdiff\", hash=>$hash, hash_parent=>$par)}, \"commitdiff\") .\n+\t\t      $cgi->a({-href => href(action=>\"commitdiff\", hash=>$hash, hash_parent=>$par)}, \"diff\") .\n \t\t      \"</td>\" .\n \t\t      \"</tr>\\n\";\n \t}\n-- \n1.4.1.1\n\n\n-- \nVGER BF report: U 0.508278\n"}]}