Re: [PATCH 4/4] Add support for 'namespace' history simplification
- From
- Santi Béjar <santi@agolina.net>
- Date
- Nov 3, 2008, 21:45 UTC
- Message-ID
- <adf1fd3d0811031345j4582e109jaf95aede0f33eff7@mail.gmail.com>
- In-Reply-To
- <alpine.LFD.2.00.0811031139520.3419@nehalem.linux-foundation.org>
On Mon, Nov 3, 2008 at 8:43 PM, Linus Torvalds <torvalds@linux-foundation.org> wrote:
Show 8 quoted lines
> > From: Linus Torvalds <torvalds@linux-foundation.org> > 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.
Show 12 quoted lines
> > This makes it possible to see the relationship between different named > commits, without actually seeing any of the details. > > Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> > --- > > 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