all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Git and submitting patches to fix bugs
@ 2015-11-13  0:38 John Wiegley
  2015-11-13  8:12 ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: John Wiegley @ 2015-11-13  0:38 UTC (permalink / raw)
  To: emacs-devel

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 21895@debbugs.gnu.org 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



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

end of thread, other threads:[~2015-11-14 23:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-13  0:38 Git and submitting patches to fix bugs John Wiegley
2015-11-13  8:12 ` Eli Zaretskii
2015-11-13 15:44   ` John Wiegley
2015-11-13 17:48     ` Marcin Borkowski
2015-11-13 22:03       ` Richard Stallman
2015-11-13 22:19         ` Marcin Borkowski
2015-11-14 21:06           ` Richard Stallman
2015-11-14 22:42             ` Marcin Borkowski
2015-11-14 23:36   ` John Wiegley

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.