[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Git and submitting patches to fix bugs
From: |
John Wiegley |
Subject: |
Git and submitting patches to fix bugs |
Date: |
Thu, 12 Nov 2015 16:38:31 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) |
For those who've not yet used this feature of Git, it's fairly easy to submit
patches to fix Emacs bugs. Let's take issue #21895 as an example:
<In your Git clone of Emacs, hack on the bug until ready>
git commit -a -m "Your description of the fix"
git format-patch --to address@hidden HEAD^..
git send-email --smtp-server=$SMTP *.patch
If you have an SMTP server on localhost, you may not need that argument. If
you have more commits than just one, use HEAD~<n>, where n is the number of
commits you want to submit. Or, if you fixed the bug in a local branch, use
"master..", or whichever branch you branched from.
On the developer side, who approves of and wants to apply the patch, save the
e-mail(s) to a file and use:
git am <path to mbox file>
To see what bugs are coming up that you might want to look at, you can
subscribe to the bugs mailing list.
John
- Git and submitting patches to fix bugs,
John Wiegley <=
- Re: Git and submitting patches to fix bugs, Eli Zaretskii, 2015/11/13
- Re: Git and submitting patches to fix bugs, John Wiegley, 2015/11/13
- Re: Git and submitting patches to fix bugs, Marcin Borkowski, 2015/11/13
- Re: Git and submitting patches to fix bugs, Richard Stallman, 2015/11/13
- Re: Git and submitting patches to fix bugs, Marcin Borkowski, 2015/11/13
- Re: Git and submitting patches to fix bugs, Richard Stallman, 2015/11/16
- Re: Git and submitting patches to fix bugs, Marcin Borkowski, 2015/11/16
Re: Git and submitting patches to fix bugs, John Wiegley, 2015/11/16