From kde-core-devel Fri Jan 29 04:12:30 2010 From: Parker Coates Date: Fri, 29 Jan 2010 04:12:30 +0000 To: kde-core-devel Subject: Re: New KGraphicsSignalPlotter class Message-Id: <85d347351001282012x78276b26n9067e0f43c358164 () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=126473842327327 On Thu, Jan 28, 2010 at 02:49, John Tapsell wrote: >  I tried upload the code to reviewboard, but I can't get it to accept > git's diff format. :-/ Use the following script to make ReviewBoard compatible diffs from Git: #!/bin/sh REV=`git svn find-rev $(git-rev-list --date-order --max-count=1 git-svn)` git diff --no-prefix $(git-rev-list --date-order --max-count=1 git-svn) $* | sed -e "s/^+++ .*/&\t(working copy)/" -e "s/^--- .*/&\t(revision $REV)/" I have no idea where the script came from; the original author really should have included a copyright line. :) Parker