]> code.delx.au - gnu-emacs/commitdiff
Add patch-sending instructions to git-workflow
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Sep 2015 09:43:59 +0000 (02:43 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 10 Sep 2015 09:44:42 +0000 (02:44 -0700)
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.

admin/notes/git-workflow

index d1d105a8a7ac59d36a6cfec2cfad65ad19e485cc..40dfa6b74107a425e604e340d23e7096915e5672 100644 (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
 =======================