Dear Reinhard Meyer, In message <4c8d212f.2010...@emk-elektronik.de> you wrote: > > >> I know, and I expected them to be numbered by send-email, but I have to > >> have them numbered by format-patch. But there is now the catch that I got 8 > >> commits and it numbers consequently 1/8, 2/8. What simple trick allows me > >> to > >> format-patch only HEAD~8 and HEAD~7 ? > > > > git format-patch -n HEAD~9..HEAD~7 ? > > Thanks. Way too simple to see the dots through a big redwood board. > (though I'd use HEAD~8..HEAD~7)
This would give you only a single patch, representing the commit at HEAD~7 > Is there a similar simple trick to produce the 0/n e-Mail? I mean without > hand entering Subject and Body into the send-email phase? Like having it > in a prepared file? Maybe the "--compose" to "git send-email" is what you are looking for: --compose Invoke a text editor (see GIT_EDITOR in git-var(1)) to edit an introductory message for the patch series. When --compose is used, git send-email will use the From, Subject, and In-Reply-To headers specified in the message. If the body of the message (what you type after the headers and a blank line) only contains blank (or GIT: prefixed) lines the summary won't be sent, but From, Subject, and In-Reply-To headers will be used unless they are removed. Missing From or In-Reply-To headers will be prompted for. See the CONFIGURATION section for sendemail.multiedit. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de Respect is a rational process -- McCoy, "The Galileo Seven", stardate 2822.3 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot