From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SU2gc-0000FH-VK for qemu-devel@nongnu.org; Mon, 14 May 2012 17:20:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SU2gb-0000sH-71 for qemu-devel@nongnu.org; Mon, 14 May 2012 17:20:10 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:50263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SU2gb-0000rk-1J for qemu-devel@nongnu.org; Mon, 14 May 2012 17:20:09 -0400 Message-ID: <4FB17706.9080406@weilnetz.de> Date: Mon, 14 May 2012 23:20:06 +0200 From: Stefan Weil MIME-Version: 1.0 References: <4FB1672D.7000906@rdsoftware.de> <4FB16B68.3040307@weilnetz.de> <4FB17210.4030609@codemonkey.ws> <4FB17352.1010901@redhat.com> <4FB174B0.9080804@rdsoftware.de> In-Reply-To: <4FB174B0.9080804@rdsoftware.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Posting a patch? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Erik Rull Cc: Peter Maydell , "qemu-devel@nongnu.org" , Anthony Liguori Am 14.05.2012 23:10, schrieb Erik Rull: > Eric Blake wrote: >> On 05/14/2012 02:58 PM, Anthony Liguori wrote: >>> You can also do: >>> >>> git send-email --to=qemu-devel@nongnu.org HEAD~1 >>> >>> Which avoids any clutter. >> >> I also like to do: >> >> git config sendemail.to=qemu-devel@nongnu.org >> >> so I don't have to remember to use --to every time. >> >> 'git send-email --cover-letter' gives a nicer cover letter than 'git >> send-email --compose'; it really bothers me that 'git send-email --help' >> fails to mention that send-email also understands all options of >> format-patch. >> > > Thanks for your help. I need to figure out first, why git detects > other changes than mine for posting despite a git checkout master, git > pull, git reset --hard and make distclean. > (See previous email) > > Best regards, > > Erik > Hi Erik, I read your previous mail. "git diff" shows the un-committed changes in your local git repository. "git format-patch" formats the latest changes in your local git repository. If you don't commit your own change to your local git repository, "git format-patch" will format the latest changes from someone else. As long as "git diff" shows your changes, there is no use to run "git format-patch". Regards, Stefan W.