From: Petr Baudis Date: Wed, 09 Nov 2005 14:59:29 GMT Subject: Re: Comments on recursive merge.. Message-ID: <20051109145929.GE30496@pasky.or.cz> In-Reply-To: <7v4q6mgm1l.fsf@assigned-by-dhcp.cox.net> Dear diary, on Wed, Nov 09, 2005 at 11:20:22AM CET, I got a letter where Junio C Hamano said that... > I do not think "git-show-branch --merge-base" can be any more > efficient than "git-merge-base --all". It does _more_ things > (probably unnecessary things as well). Pasky's number could be > just an artifact of hot/cold cache difference. Certainly not that. But I've fetched in the meantime and now show-branch takes much longer - median 0.078s (git-merge-base's median still stays around 0.128s). So possibly git-show-branch did some smart optimization right away in the previous case. I can try to track down the particular commits if there's any interest. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ VI has two modes: the one in which it beeps and the one in which it doesn't.