From mboxrd@z Thu Jan 1 00:00:00 1970 From: "=?ISO-8859-1?Q?Santi_B=E9jar?=" Subject: Re: [PATCH 4/4] Add support for 'namespace' history simplification Date: Mon, 3 Nov 2008 22:45:16 +0100 Message-ID: References: <200811031439.12111.brian.foster@innova-card.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "Brian Foster" , "Junio C Hamano" , "Git Mailing List" To: "Linus Torvalds" X-From: git-owner@vger.kernel.org Mon Nov 03 22:46:49 2008 connect(): Connection refused Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kx7Fw-0000Yd-Ks for gcvg-git-2@gmane.org; Mon, 03 Nov 2008 22:46:41 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755030AbYKCVpW (ORCPT ); Mon, 3 Nov 2008 16:45:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753572AbYKCVpU (ORCPT ); Mon, 3 Nov 2008 16:45:20 -0500 Received: from ug-out-1314.google.com ([66.249.92.175]:57421 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752455AbYKCVpT (ORCPT ); Mon, 3 Nov 2008 16:45:19 -0500 Received: by ug-out-1314.google.com with SMTP id 39so47030ugf.37 for ; Mon, 03 Nov 2008 13:45:17 -0800 (PST) Received: by 10.103.251.3 with SMTP id d3mr290443mus.73.1225748717125; Mon, 03 Nov 2008 13:45:17 -0800 (PST) Received: by 10.103.179.20 with HTTP; Mon, 3 Nov 2008 13:45:16 -0800 (PST) In-Reply-To: Content-Disposition: inline Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Mon, Nov 3, 2008 at 8:43 PM, Linus Torvalds wrote: > > From: Linus Torvalds > Date: Mon, 3 Nov 2008 11:25:46 -0800 > Subject: [PATCH 4/4] Add support for 'namespace' history simplification > > Maybe this is mis-named, but what it does is to simplify history not by > the contents of the tree, but whether a commit has been named (ie it's > referred to by some branch or tag) or not. Maybe --simplify-refs, or --simplify-overview. > > This makes it possible to see the relationship between different named > commits, without actually seeing any of the details. > > Signed-off-by: Linus Torvalds > --- > > This is the actual real meat of the logic, and it's really trivial. The > actual code is really just a simple > > if (simplify-by-namespace) > return lookup_decoration(..) ? REV_TREE_DIFFERENT : REV_TREE_SAME; I tried it once, but I had problems simplifying the merges, and it is trivial... Not that it matters a lot, but if you try it on master you get some extra merges without a ref like: 373a273 (Merge git-gui 0.11.0, 2008-08-17) f44bc33 (Sync with 1.5.6.5, 2008-08-06) Thanks, Santi