New KGraphicsSignalPlotter class

Parker Coates parker.coates at kdemail.net
Fri Jan 29 04:12:30 GMT 2010


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




More information about the kde-core-devel mailing list