Figured this out -- but for other's benefit, in case anyone else is as
ignorant as I am....

cut/pasting the recommended git commands that gerrit provides didn't work,
but I discovered that the (gitweb) links take you directly to
git.openafs.org, and from there you can get the raw diff in a form you can
download pretty easily.

Clicking on "commitdiff" and then "raw" gives you a good old plain text diff
you can download.

On Wed, Oct 20, 2010 at 3:07 PM, Phillip Moore <[email protected]>wrote:

>
> Now my inexperience with git will shine...  how do I translate that http:
> url into a git: url?   The trivial change doesn't work, either:
>
> pmo...@renegade$ git fetch 
> git://gerrit.openafs.org/p/openafsrefs/changes/11/1711/2 && git format-patch 
> -1 --stdout FETCH_HEAD
> fatal: The remote end hung up unexpectedly
>
> Is there some further translation of the rest of the URL that is supposed
> to be obvious?
>
> On Wed, Oct 20, 2010 at 2:59 PM, Derrick Brashear <[email protected]>wrote:
>
>> On Wed, Oct 20, 2010 at 2:43 PM, Phillip Moore
>> <[email protected]> wrote:
>> >
>> > Hold on -- the "backport" was supposedly already done:
>> > http://gerrit.openafs.org/#change,1711
>>
>> fair enough. i forgot that it was distilled out.
>>
>> > Tactically, I could hack it, but I need to make this reproducible, so I
>> > would like to get that change and apply it to the released 1.4.12 source
>> > tree.  Should I expect those git commands documented by gerrit to work?
>>  I
>> > tried the one for "Patch":
>> > pmo...@renegade$ git fetch http://gerrit.openafs.org/p/openafs
>> > refs/changes/11/1711/2 && git format-patch -1 --stdout FETCH_HEAD
>> > error: The requested URL returned error: 403 while accessing
>> > http://gerrit.openafs.org/p/openafs/info/refs
>>
>> the http side sometimes misses things. get a git url and i bet it works.
>>
>
>

Reply via email to