From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lz5zu-0005kC-Oi for qemu-devel@nongnu.org; Wed, 29 Apr 2009 05:22:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lz5zq-0005jB-Oq for qemu-devel@nongnu.org; Wed, 29 Apr 2009 05:22:34 -0400 Received: from [199.232.76.173] (port=45935 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lz5zq-0005ix-7Q for qemu-devel@nongnu.org; Wed, 29 Apr 2009 05:22:30 -0400 Received: from mx2.redhat.com ([66.187.237.31]:44476) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lz5zn-0006id-IV for qemu-devel@nongnu.org; Wed, 29 Apr 2009 05:22:29 -0400 Subject: Re: [Qemu-devel] updating git tree References: <2472635194-BeMail@laptop> From: Markus Armbruster Date: Wed, 29 Apr 2009 11:22:11 +0200 In-Reply-To: <2472635194-BeMail@laptop> (=?utf-8?Q?=22Fran=C3=A7ois?= Revol"'s message of "Wed\, 29 Apr 2009 10\:51\:08 +0200 CEST") Message-ID: <87r5zberwc.fsf@pike.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Fran=C3=A7ois_Revol?= Cc: andreas.faerber@web.de, qemu-devel@nongnu.org "Fran=C3=A7ois Revol" writes: > > >> >> That I guessed, but there is no way to forbid commiting deleted=20 >> > > files=20 >> >> at once... >>=20 >> There is. >>=20 >> git-commit by default commits exactly what you staged in the index.=20=20 >> If >> you staged a delete, it'll commit a delete. If you don't want that, >> unstage it, say with git-add or git-reset. >>=20 >> git-commit can also bypass the index. Just list the files you want=20 >> to >> commit. If a listed file no longer exists, the commit will remove=20 >> it. > > This sounds confuse... > anyway. The index can be confusing for beginners. Just think about it as your commit staging area. Having a staging area lets me construct what I want to commit incrementally. I find that especially useful when my working tree is in a messy state. Try git-add -p some time, and you'll understand. >> > (overengineering) >>=20 >> If you want a diff, use git-diff. >>=20 >> If you want e-mail ready for sending, use git-format-patch. > > I want a patch ready to submit, that is, a diff with the Signed-off-by=20 > tag as it is supposed to be able to do this, and the commit summary as=20 > it knows about it. > > There is no reason it would make me a mail in any format that I don't=20 > use. > mbox is not standard, despite it storing messages themselves in RFC=20 > format. I'm not sure I understand what you're talking about. git-format-patch puts each commit in a separate file. Mbox comes into play only if you use --stdout. > > Besides the command is named git format-*patch* *not* format-mail! > >>From its man page: NAME git-format-patch - Prepare patches for e-mail submission >> Me thinks you are still fighting the tool instead of working with it. >> No happiness found down that way. > > It's the tool that is fighting me instead of doing what I want it to=20 > do. > It tries to impose a format on me that I don't want. > There is no reason I want to setup a mail account on this box while I=20 > have all my mail on another box on another OS in another format (almost=20 > maildir just better). And I don't like having send-mails hiding=20 > elsewhere. Maybe you're looking for git-show. > Why does it think I want to let it send mails for me ? I don't like=20 > apps that does things behind my back, that sounds so Windows-ish. :^\ > I thought UNIX philosophy was all about interoperability... > > I trust venting your frustration is good for you, but I doubt it's good for getting help :) > Let's see if it still works today... > > No commit since fc1c67bc2a43a53f7315b602e0c67f9604835fe1 ? > Hmm oh, no way to do a "git log" on a git: url without a clone ? Sorry, I don't understand what you're trying to do. > Btw, front page: "The a QEMU repository" typo. It could reuse a link=20 > too... > http://savannah.nongnu.org/git/?group=3Dqemu ? > > Fran=C3=A7ois.