[haiku-development] Re: VOTE: Git or Mercurial (hg) as Haiku's new source control tool

  • From: "Ingo Weinhold" <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 14 May 2011 15:38:26 +0200

On Sat, 14 May 2011 15:16:42 +0200 (MEST) "Axel Dörfler" 
<axeld@xxxxxxxxxxxxxxxx> wrote:
> In any case, someone should file a bug in Git's bug tracker that
> lightweight tags aren't really that lightweight.

Well, they are stored as individual files and I suspect there are good reasons 
to do that (likely because that fits best with git's architecture). I don't 
think anyone will change that. It's even documented for the user where the tags 
are stored (in .git/refs/tags/). Since some operations require reading in all 
tags, the performance penalty is inevitable I suppose.

I guess what we really would want is a new ultralightweight tag feature, 
implemented as a single-file name -> hash map.

CU, Ingo

Other related posts: