qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Submitting a change...?
@ 2010-03-08 22:38 Rob Earhart
  2010-03-08 23:40 ` Alexander Graf
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Earhart @ 2010-03-08 22:38 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 741 bytes --]

So, I have a patch I'd like to submit.  It's pretty simple - when using a
differencing disk and loading a snapshot, it includes the backing disks in
the search.  It seems to work fine on my machine.

I'm not sure what the procedure for submitting changes is; it's been a long
time since I've contributed to an open source project.  I used "git clone"
to pull down the source and make my modifications; "git diff HEAD" appears
to be reasonable, "git commit --dry-run" appears to correctly identify the
modified files... but I don't know what comes next.  :-)

So now what?  Would running "git commit" do the right thing?  Should I
generate a diff and send the output somewhere for review and possible
approval?  Something else?

Thanks,
)Rob

[-- Attachment #2: Type: text/html, Size: 903 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] Submitting a change...?
  2010-03-08 22:38 [Qemu-devel] Submitting a change...? Rob Earhart
@ 2010-03-08 23:40 ` Alexander Graf
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Graf @ 2010-03-08 23:40 UTC (permalink / raw)
  To: Rob Earhart; +Cc: qemu-devel


On 08.03.2010, at 23:38, Rob Earhart wrote:

> So, I have a patch I'd like to submit.  It's pretty simple - when using a differencing disk and loading a snapshot, it includes the backing disks in the search.  It seems to work fine on my machine.
> 
> I'm not sure what the procedure for submitting changes is; it's been a long time since I've contributed to an open source project.  I used "git clone" to pull down the source and make my modifications; "git diff HEAD" appears to be reasonable, "git commit --dry-run" appears to correctly identify the modified files... but I don't know what comes next.  :-)
> 
> So now what?  Would running "git commit" do the right thing?  Should I generate a diff and send the output somewhere for review and possible approval?  Something else?

Try

$ git commit -a

Enter a proper patch description. Make sure you add a signed-off-by line in the end. The first line of the patch description is the subject.

$ git format-patch origin/master -o /tmp/patch
$ git send-email --to qemu-devel@nongnu.org /tmp/patch/*

You might need to fiddle with git send-email a bit to actually make it send mails using your MTA. If you think it's not worth the effort, send the patch using a different mailer, but chances are pretty good the result ends up being broken.

Alex

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-08 23:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-08 22:38 [Qemu-devel] Submitting a change...? Rob Earhart
2010-03-08 23:40 ` Alexander Graf

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).