{"thread":{"id":"3490","subject":"[PATCH 1/2] Enable tree (directory) history display","startedAt":"2006-02-28T12:38:54Z","lastAt":"2006-02-28T12:38:54Z","messageCount":1,"participants":["Luben Tuikov"],"isPatch":true,"patchVersion":1,"patchTotal":2},"messages":[{"id":"16900","messageId":"20060228123854.79702.qmail@web31815.mail.mud.yahoo.com","threadId":"3490","inReplyTo":null,"subject":"[PATCH 1/2] Enable tree (directory) history display","fromName":"Luben Tuikov","fromEmail":"ltuikov@yahoo.com","sentAt":"2006-02-28T12:38:54Z","receivedAt":"2006-02-28T12:38:54Z","isPatch":true,"sender":{"key":"ltuikov@yahoo.com","avatar":null},"body":"This patch allows history display of whole trees/directories,\na la \"git-rev-list HEAD <dir or file>\", but somewhat\nslower, since exported git repository doesn't have\nthe files checked out so we have to use\n\"$gitbin/git-rev-list $hash | $gitbin/git-diff-tree -r --stdin \\'$file_name\\'\"\nmethod.\n\nSigned-off-by: Luben Tuikov <ltuikov@yahoo.com>\n\n---\n\n gitweb.cgi |    1 +\n 1 files changed, 1 insertions(+), 0 deletions(-)\n\n5c8ae3db3561238a57201fcb3297f16d7b37f377\ndiff --git a/gitweb.cgi b/gitweb.cgi\nindex c1bb624..452528f 100755\n--- a/gitweb.cgi\n+++ b/gitweb.cgi\n@@ -1504,6 +1504,7 @@ sub git_tree {\n \t\t\t      \"</td>\\n\" .\n \t\t\t      \"<td class=\\\"link\\\">\" .\n \t\t\t      $cgi->a({-href => \"$my_uri?\" .\nesc_param(\"p=$project;a=tree;h=$t_hash$base_key;f=$base$t_name\")}, \"tree\") .\n+\t\t\t      \" | \" . $cgi->a({-href => \"$my_uri?\" .\nesc_param(\"p=$project;a=history;h=$hash_base;f=$base$t_name\")}, \"history\") .\n \t\t\t      \"</td>\\n\";\n \t\t}\n \t\tprint \"</tr>\\n\";\n-- \n1.2.3.g975a\n"}]}