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

List:       kde-devel
Subject:    Re: Uploading .diff files on reviewboard
From:       Stephan Diestelhorst <stephan.diestelhorst () gmail ! com>
Date:       2012-03-22 15:26:11
Message-ID: CAJR39ExCoSkg3cD7KbbhQsoUrsP68Z8JxoMWbiXBp23HtJoRnw () mail ! gmail ! com
[Download RAW message or body]

On 26 February 2012 21:48, Thomas Lübking <thomas.luebking@gmail.com> wrote:
> Am 26.02.2012, 20:30 Uhr, schrieb Rahul Sharma <rahulveera2009@gmail.com>:
>
>
>> Hi,
>> I am trying to upload my .diff file on the reviewboard through the web UI
>> for reviewboard, but I am getting error.
>> It always says that the file I uploaded is not .diff file even I am
>> uploading the file of the .diff extension.
>>
>> Any suggestions??
>
>
> The reviewboard is pretty picky about diffs.
> Create them using "git diff <hash>" of "git format-patch <hash>", eg
> git format-patch HEAD~3
> will create diffs for the 3 latest commits
> while
> git diff HEAD~2
> will create one patch against the branch as it was two commits ago.
>
> The reviewboard will also reject diffs against hashes it doesn't know
> (because they only exist in your local branch) - for this purpose you can
> create a diff agains a common hash and supply that as parenting patch.

I had to do

git format-patch --full-index origin/master

with rebased changes already committed locally.

Stephan

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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