Add patch-sending instructions to git-workflow

From a suggestion by Mitchel Humpherys in:
http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00421.html
* admin/notes/git-workflow (Sending patches): New section.
This commit is contained in:
Paul Eggert 2015-09-10 02:43:59 -07:00
parent 6ee7eabb5d
commit f962c5d647

View file

@ -46,6 +46,24 @@ top of that. Then say
git push
Sending patches
===============
If you lack push access or would like feedback before pushing a patch,
you can send a patch file as a bug report. After committing your
change locally, do:
git format-patch -1
This creates a file 0001-DESCRIPTION.patch containing the patch, where
DESCRIPTION comes from the first line of your patch's commit message.
You can attach the patch file to email that you send to
bug-gnu-emacs@gnu.org. You can also configure git to email patches
directly (see <http://git-scm.com/docs/git-send-email>) and do:
git send-email --to=bug-gnu-emacs@gnu.org 0001-DESCRIPTION.patch
Backporting to emacs-24
=======================