From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 31BE9138247 for ; Wed, 15 Jan 2014 02:19:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6FF18E0A90; Wed, 15 Jan 2014 02:19:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CBF3BE0A83 for ; Wed, 15 Jan 2014 02:19:09 +0000 (UTC) Received: by smtp.gentoo.org (Postfix, from userid 2354) id E0CAD33F3EE; Wed, 15 Jan 2014 02:19:08 +0000 (UTC) Date: Wed, 15 Jan 2014 02:19:08 +0000 From: Yixun Lan To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] Commit Policy Message-ID: <20140115021908.GA4125@woodpecker.gentoo.org> References: <1389350112.7103.133.camel@big_daddy.dol-sen.ca> <52D38B0F.4060804@gmx.de> <1389598174.14760.8.camel@big_daddy.dol-sen.ca> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1389598174.14760.8.camel@big_daddy.dol-sen.ca> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 2ecd6805-2570-4684-88b5-abfad61cb6ac X-Archives-Hash: a45faaab4d895c4ff87dadf8002a86c0 On Sun, Jan 12, 2014 at 11:29:34PM -0800, Brian Dolbec wrote: > On Mon, 2014-01-13 at 07:43 +0100, Sebastian Luther wrote: > > > > One more useful thing: > > > > Put this in ~/.gitconfig: > > [color] > > ui = auto > > > > This way git diff will use colors, including highlighting of trailing > > whitespace. > > > > > > > > I use an editor that I have set for both showing whitespace (you see > tabs, spaces) and auto-strips trailing whitespace on save. > > nice tip for the git diff. > > I like using dev-vcs/gitg for doing commits, viewing different branch > trees, cherry-picking (in color too). For commits it lets you pick > changes 1 at a time (+ or -) when you've done several changes, but wish > to split them into logical commits. Handy when you spot things that > need fixing, but don't want to forget to do after your current change > session & commit. Hope I'm not making too much noise here ;-) if you want to amend your git commits a lot, saying, movie commits up/down, merge/split them you could try dev-vcs/stgit, it's my favorite! > > -- > Brian Dolbec Lan