From: Uwe Kleine-König Date: Mon, 04 Oct 2010 06:45:44 GMT Subject: Re: [TopGit PATCH 6/6] tg-log: short cut to git log Message-ID: <20101004064544.GH28679@pengutronix.de> In-Reply-To: Hi, On Mon, Oct 04, 2010 at 06:40:22AM +0200, Per Cederqvist wrote: > Using --first-parent to get only the interesting commits only works reliably > when you only work locally. If you collaborate and you and your partner both > make a commit before you push to a central server you will have to make a > merge, where both parents are interesting. > > I wish that git remembered which branch a commit was initially made on. That > would make "tg log" easy to implement correctly. But since git doesn't, I > don't think it is possible to implement it properly. > > At least, a warning should be added to the README. Oh right, I missed that, when looking over the patch. Maybe doing something like: git log $name ^base(name) $(for d in dep(name); do echo ^$d) would work? Thanks Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |