[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master f962c5d 2/2: Add patch-sending instructions to git-
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master f962c5d 2/2: Add patch-sending instructions to git-workflow |
Date: |
Thu, 10 Sep 2015 09:44:47 +0000 |
branch: master
commit f962c5d6472804f788cdd54631bcc46aab5f59ce
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
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.
---
admin/notes/git-workflow | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/admin/notes/git-workflow b/admin/notes/git-workflow
index d1d105a..40dfa6b 100644
--- a/admin/notes/git-workflow
+++ b/admin/notes/git-workflow
@@ -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
address@hidden You can also configure git to email patches
+directly (see <http://git-scm.com/docs/git-send-email>) and do:
+
+git send-email address@hidden 0001-DESCRIPTION.patch
+
+
Backporting to emacs-24
=======================