Sending patches from a local git repository

At the moment I am reworking some old seabios patches as I want them in upstream. At the moment my git log shows this:

commit fd7e6128d5fb9b8297a4a20f3288c130a554147b Author: Christian Gmeiner christian.gmeiner@gmail.com Date: Thu Feb 14 10:24:59 2013 +0100 geodevga: fix wrong define name Signed-off-by: Christian Gmeiner christian.gmeiner@gmail.com commit b1268e8100f0bcf0655b65326856e6f33e3625c1 Author: Christian Gmeiner christian.gmeiner@gmail.com Date: Thu Feb 14 10:22:58 2013 +0100 geodevga: add debug to msr functions Signed-off-by: Christian Gmeiner christian.gmeiner@gmail.com commit dde4df84126a460c454ca79fc8dc5b0ae4aa876e Author: Christian Gmeiner christian.gmeiner@gmail.com Date: Thu Feb 14 10:19:05 2013 +0100 geodevga: move output setup to own function Signed-off-by: Christian Gmeiner christian.gmeiner@gmail.com commit bba85a38c67aa2b52f146b5cefe58b00f516fc2e Author: Christian Gmeiner christian.gmeiner@gmail.com Date: Thu Feb 14 10:13:59 2013 +0100 geodevga: move framebuffer setup Framebuffer setup has nothing to do with dcsetup(..) so move it to geodevgainit(..). Signed-off-by: Christian Gmeiner christian.gmeiner@gmail.com commit 0b3dee01385e65f2b88600c9b663589343ac4abe Author: Christian Gmeiner christian.gmeiner@gmail.com Date: Thu Feb 14 10:05:45 2013 +0100 geodevga: fix errors in geodefp* functions Signed-off-by: Christian Gmeiner christian.gmeiner@gmail.com commit 4b1d2be6e1c73d1fc9a984ca7fe6c14d433171cc Author: David Woodhouse David.Woodhouse@intel.com Date: Sun Feb 10 00:51:56 2013 +0000 Unify return path for CSM to go via csmreturn() This allows us to keep the entrycsm code simple, and ensures that we consistently do things like saving the PIC mask (and later setting UmbStart) on the way back to UEFI. ...

The first step is to generate the patches.

$ git format-patch -M origin/master 0001-geodevga-fix-errors-in-geodefp-functions.patch 0002-geodevga-move-framebuffer-setup.patch 0003-geodevga-move-output-setup-to-own-function.patch 0004-geodevga-add-debug-to-msr-functions.patch 0005-geodevga-fix-wrong-define-name.patch

Now we simply need to send them via mail – git helps here too 🙂

$ git send-email .patch 0001-geodevga-fix-errors-in-geode_fp_-functions.patch 0001-geodevga-fix-wrong-define-name.patch 0002-geodevga-move-framebuffer-setup.patch 0003-geodevga-move-output-setup-to-own-function.patch 0004-geodevga-add-debug-to-msr-functions.patch 0005-geodevga-fix-wrong-define-name.patch Who should the emails appear to be from? [Christian Gmeiner christian.gmeiner@gmail.com] Emails will be sent from: Christian Gmeiner christian.gmeiner@gmail.com Who should the emails be sent to (if any)? [email protected] Message-ID to be used as In-Reply-To for the first email (if any)? (mbox) Adding cc: Christian Gmeiner christian.gmeiner@gmail.com from line 'From: Christian Gmeiner christian.gmeiner@gmail.com' (body) Adding cc: Christian Gmeiner christian.gmeiner@gmail.com from line 'Signed-off-by: Christian Gmeiner christian.gmeiner@gmail.com' From: Christian Gmeiner christian.gmeiner@gmail.com To: [email protected] Cc: Christian Gmeiner christian.gmeiner@gmail.com Subject: [PATCH 1/5] geodevga: fix errors in geode_fp_ functions Date: Thu, 14 Feb 2013 10:34:32 +0100 Message-Id: 1360834477-18802-1-git-send-email-christian.gmeiner@gmail.com X-Mailer: git-send-email 1.7.12.2.421.g261b511 The Cc list above has been expanded by additional addresses found in the patch commit message. By default send-email prompts before sending whenever this occurs. This behavior is controlled by the sendemail.confirm configuration setting. For additional information, run 'git send-email --help'. To retain the current behavior, but squelch this message, run 'git config --global sendemail.confirm auto'. Send this email? ([y]es|[n]o|[q]uit|[a]ll): a OK. Log says: Server: smtp.gmail.com MAIL FROM:christian.gmeiner@gmail.com RCPT TO:seabios@seabios.org RCPT TO:christian.gmeiner@gmail.com From: Christian Gmeiner christian.gmeiner@gmail.com To: [email protected] Cc: Christian Gmeiner christian.gmeiner@gmail.com Subject: [PATCH 1/5] geodevga: fix errors in geodefp* functions Date: Thu, 14 Feb 2013 10:34:32 +0100 Message-Id: 1360834477-18802-1-git-send-email-christian.gmeiner@gmail.com X-Mailer: git-send-email 1.7.12.2.421.g261b511 Result: 250 2.0.0 OK 1360833086 q5sm77386411eep.11 - gsmtp ... ...

Open Hub profile for Christian Gmeiner