{"thread":{"id":"2199","subject":"[gitweb PATCH] add a 'diff to parent' option in the file history display","startedAt":"2005-10-23T15:25:05Z","lastAt":"2005-10-23T17:13:03Z","messageCount":2,"participants":["Brad Roberts"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"10483","messageId":"Pine.LNX.4.44.0510230815570.2284-100000@bellevue.puremagic.com","threadId":"2199","inReplyTo":null,"subject":"[gitweb PATCH] add a 'diff to parent' option in the file history display","fromName":"Brad Roberts","fromEmail":"braddr@puremagic.com","sentAt":"2005-10-23T15:25:05Z","receivedAt":"2005-10-23T15:25:05Z","isPatch":true,"sender":{"key":"braddr@puremagic.com","avatar":null},"body":"I'm not sure how well this plays with multiple parent merges or anything\ncomplicated.  It seems to work well on a converted cvs archive.\n\nPullable from:  git://cvs.puremagic.com/git/gitweb.git\n\n---------------------\nadd a 'diff to parent' option in the file history display\n\nSigned-off-by: Brad Roberts <braddr@puremagic.com>\n---\n\n gitweb.cgi |    3 +++\n 1 files changed, 3 insertions(+), 0 deletions(-)\n\n2539b424d62cc2ab060c5d2fa9525a6b6f8df7e5\ndiff --git a/gitweb.cgi b/gitweb.cgi\n--- a/gitweb.cgi\n+++ b/gitweb.cgi\n@@ -2054,6 +2054,9 @@ sub git_history {\n \t\t\t\tprint \" | \" .\n \t\t\t\t$cgi->a({-href => \"$my_uri?p=$project;a=blobdiff;h=$blob;hp=$blob_parent;hb=$commit;f=$file_name\"},\n \t\t\t\t\"diff to current\");\n+\t\t\t\tprint \" | \"\n+\t\t\t\t$cgi->a({-href => \"$my_uri?p=$project;a=blobdiff;h=$blob_parent;hp=$3;hb=$commit;f=$file_name\"},\n+\t\t\t\t\"diff to parent\");\n \t\t\t}\n \t\t\tprint \"</td>\\n\" .\n \t\t\t      \"</tr>\\n\";\n"},{"id":"10485","messageId":"Pine.LNX.4.44.0510231011200.2284-100000@bellevue.puremagic.com","threadId":"2199","inReplyTo":"Pine.LNX.4.44.0510230815570.2284-100000@bellevue.puremagic.com","subject":"Re: [gitweb PATCH] add a 'diff to parent' option in the file history display","fromName":"Brad Roberts","fromEmail":"braddr@puremagic.com","sentAt":"2005-10-23T17:13:03Z","receivedAt":"2005-10-23T17:13:03Z","isPatch":true,"sender":{"key":"braddr@puremagic.com","avatar":null},"body":"And of course I flub another patch.. the first new line there needs a\ntrailing '.'.  I've checked in that change to the repository below.\n\nAlso, both of these are on the 'brad-master' branch, not 'master'.\n\nOn Sun, 23 Oct 2005, Brad Roberts wrote:\n\n> Date: Sun, 23 Oct 2005 08:25:05 -0700 (PDT)\n> From: Brad Roberts <braddr@puremagic.com>\n> To: git@vger.kernel.org\n> Subject: [gitweb PATCH] add a 'diff to parent' option in the file history\n>     display\n>\n> I'm not sure how well this plays with multiple parent merges or anything\n> complicated.  It seems to work well on a converted cvs archive.\n>\n> Pullable from:  git://cvs.puremagic.com/git/gitweb.git\n>\n> ---------------------\n> add a 'diff to parent' option in the file history display\n>\n> Signed-off-by: Brad Roberts <braddr@puremagic.com>\n> ---\n>\n>  gitweb.cgi |    3 +++\n>  1 files changed, 3 insertions(+), 0 deletions(-)\n>\n> 2539b424d62cc2ab060c5d2fa9525a6b6f8df7e5\n> diff --git a/gitweb.cgi b/gitweb.cgi\n> --- a/gitweb.cgi\n> +++ b/gitweb.cgi\n> @@ -2054,6 +2054,9 @@ sub git_history {\n>  \t\t\t\tprint \" | \" .\n>  \t\t\t\t$cgi->a({-href => \"$my_uri?p=$project;a=blobdiff;h=$blob;hp=$blob_parent;hb=$commit;f=$file_name\"},\n>  \t\t\t\t\"diff to current\");\n> +\t\t\t\tprint \" | \"\n> +\t\t\t\t$cgi->a({-href => \"$my_uri?p=$project;a=blobdiff;h=$blob_parent;hp=$3;hb=$commit;f=$file_name\"},\n> +\t\t\t\t\"diff to parent\");\n>  \t\t\t}\n>  \t\t\tprint \"</td>\\n\" .\n>  \t\t\t      \"</tr>\\n\";\n>\n>\n>\n> -\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n"}]}