[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: New KGraphicsSignalPlotter class
From:       Parker Coates <parker.coates () kdemail ! net>
Date:       2010-01-29 4:12:30
Message-ID: 85d347351001282012x78276b26n9067e0f43c358164 () mail ! gmail ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic