From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mitchel Humpherys Newsgroups: gmane.emacs.devel Subject: [PATCH] * git-workflow: Add instructions for sending patch files Date: Wed, 9 Sep 2015 21:00:20 -0700 Message-ID: <1441857620-6149-1-git-send-email-mitch.special@gmail.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1441857666 27444 80.91.229.3 (10 Sep 2015 04:01:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Sep 2015 04:01:06 +0000 (UTC) Cc: Mitchel Humpherys To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 10 06:00:53 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZZt2Y-00011C-Hl for ged-emacs-devel@m.gmane.org; Thu, 10 Sep 2015 06:00:50 +0200 Original-Received: from localhost ([::1]:46725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZt2Y-00017T-2R for ged-emacs-devel@m.gmane.org; Thu, 10 Sep 2015 00:00:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZt2U-00017D-4X for emacs-devel@gnu.org; Thu, 10 Sep 2015 00:00:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZt2P-0001Ov-J0 for emacs-devel@gnu.org; Thu, 10 Sep 2015 00:00:46 -0400 Original-Received: from mail-pa0-x22f.google.com ([2607:f8b0:400e:c03::22f]:33831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZt2O-0001O9-Qp for emacs-devel@gnu.org; Thu, 10 Sep 2015 00:00:41 -0400 Original-Received: by padhy16 with SMTP id hy16so29925855pad.1 for ; Wed, 09 Sep 2015 21:00:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=AAsaAr05Nu6zxhmFLsj6MxcIAUpB2FDKbAs0OiCfZzs=; b=BoJgX8dzP+SHpmvkQ9nw0F8uIeFWAbCXaVvrv1lxTVRDgYXHzHsOcYNDKpNmTe3ZgY sey04lw2hQJAPLZyIxLvuqN/LySXPAziar7FbMOo88wEU0SsnPL07QxgtiuvRBbTtpLP VA1CKAuPZiMy/KxnspA7iRne/81BuBEXsrL7wIrCSPiJTCOKYxROo659zFC4pHhf3Mg+ 1aEwUssMwJU3nNyKJBW7EsHcn3HcHCpZ8sYUye2iqHYttXNQgZCzlxJ+EBjLB5a2F3yG nd851gtNubnefYJp/LLLO4Dxv/4AIGq4xJMyM27qOavVecMpR4nSQxiUQiMV6cysq0Wn KolQ== X-Received: by 10.66.160.34 with SMTP id xh2mr319251pab.67.1441857640160; Wed, 09 Sep 2015 21:00:40 -0700 (PDT) Original-Received: from localhost.localdomain (ip72-199-214-50.sd.sd.cox.net. [72.199.214.50]) by smtp.gmail.com with ESMTPSA id vw7sm8969541pab.15.2015.09.09.21.00.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Sep 2015 21:00:39 -0700 (PDT) X-Mailer: git-send-email 2.5.1 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:189789 Archived-At: While there are some vague references to `git format-patch' in a few places, it can be unclear to new developers what the preferred method is for sending in "drive-by" patches. Fix this by adding explicit instructions to the git-workflow file. --- admin/notes/git-workflow | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/admin/notes/git-workflow b/admin/notes/git-workflow index d1d105a8a7..edea7a652e 100644 --- a/admin/notes/git-workflow +++ b/admin/notes/git-workflow @@ -46,6 +46,21 @@ top of that. Then say git push +Sending Patches +=============== + +If you don't have push access to the main repository, or if you'd +simply like some feedback on a patch before pushing it, you can send a +patch file to the mailing list. After committing your change locally, +do: + +git format-patch -1 +git send-email --to emacs-devel@gnu.org YOUR-PATCH-FILE.patch + +You'll need to configure git to be able to send email as described in +http://git-scm.com/docs/git-send-email + + Backporting to emacs-24 ======================= -- 2.5.1