git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Alejandro Riveira Fernández" <ariveira@gmail.com>
To: lsorense@csclub.uwaterloo.ca (Lennart Sorensen)
Cc: Randy Dunlap <rdunlap@xenotime.net>, Andy <genanr@emsphone.com>,
	linux-kernel@vger.kernel.org, git@vger.kernel.org
Subject: Re: How can I download a git commit as a diff patch?
Date: Wed, 30 Sep 2009 21:38:09 +0200	[thread overview]
Message-ID: <20090930213809.71c2a8e8@varda> (raw)
In-Reply-To: <20090930190014.GA22161@csclub.uwaterloo.ca>

El Wed, 30 Sep 2009 15:00:14 -0400

 CCing git@vger.kernel.org ??

lsorense@csclub.uwaterloo.ca (Lennart Sorensen) escribió:

> On Wed, Sep 30, 2009 at 08:55:00AM -0700, Randy Dunlap wrote:
> > On Wed, 30 Sep 2009 10:44:10 -0500 Andy wrote:
> > 
> > > I just want to down a particular git commit as a patch, not a git commit or
> > > anything.  Yes, I can see the diffs on the web, but unless I am missing
> > > something all are in unless html formats for me.  And cut and past from the
> > > web page does not help either because some lines get mangled.  Is there some
> > > site, or git itself, that would allow be to get the git commit as a simple
> > > patch?
> > 
> > Look at the commitdiff using the web interface, then click on "raw" near
> > the upper left corner.
> 
> Of course some git diff's are not in a format that patch will like as
> far as I can tell.
> 
> For example commit 6cdee2f96a97f6da26bd3759c3f8823332fbb438 which has
> stuff like:
> diff --cc drivers/net/ixp2000/ixpdev.c
> index 588b44d,92fb823..1272434
> --- a/drivers/net/ixp2000/ixpdev.c
> +++ b/drivers/net/ixp2000/ixpdev.c
> @@@ -67,9 -68,9 +68,9 @@@ static int ixpdev_xmit(struct sk_buff *
>         ip->tx_queue_entries++;
>         if (ip->tx_queue_entries == TX_BUF_COUNT_PER_CHAN)
>                 netif_stop_queue(dev);
> -       local_irq_enable();
> +       local_irq_restore(flags);
> 
>  -      return 0;
>  +      return NETDEV_TX_OK;
>   }
> 
> 
> 
> Ehm, what does that mean?  patch doesn't like it.
> 
> Do git merges cause weird diffs?
> 

       reply	other threads:[~2009-09-30 19:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20090930154410.GA31502@thumper2>
     [not found] ` <20090930085500.a5856301.rdunlap@xenotime.net>
     [not found]   ` <20090930190014.GA22161@csclub.uwaterloo.ca>
2009-09-30 19:38     ` Alejandro Riveira Fernández [this message]
2009-09-30 20:10       ` How can I download a git commit as a diff patch? Jakub Narebski
2009-09-30 20:25         ` Lennart Sorensen
2009-09-30 20:40           ` Jakub Narebski
2009-09-30 21:07             ` Lennart Sorensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090930213809.71c2a8e8@varda \
    --to=ariveira@gmail.com \
    --cc=genanr@emsphone.com \
    --cc=git@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lsorense@csclub.uwaterloo.ca \
    --cc=rdunlap@xenotime.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).