From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Buchacher Subject: Re: Storing additional information in commit headers Date: Mon, 1 Aug 2011 22:01:49 +0200 Message-ID: <20110801200149.GA20861@toss> References: <20110801182015.GA3100@fishbowl.rw.madduck.net> <20110801183411.GA5182@fishbowl.rw.madduck.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sverre Rabbelier , git discussion list , Petr Baudis To: martin f krafft X-From: git-owner@vger.kernel.org Mon Aug 01 22:02:00 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QnygX-0005Pz-NB for gcvg-git-2@lo.gmane.org; Mon, 01 Aug 2011 22:01:58 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753051Ab1HAUBx (ORCPT ); Mon, 1 Aug 2011 16:01:53 -0400 Received: from bsmtp4.bon.at ([195.3.86.186]:18542 "EHLO bsmtp.bon.at" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752192Ab1HAUBw (ORCPT ); Mon, 1 Aug 2011 16:01:52 -0400 Received: from localhost (p5B22CD28.dip.t-dialin.net [91.34.205.40]) by bsmtp.bon.at (Postfix) with ESMTP id 31E81A7EB4; Mon, 1 Aug 2011 22:01:50 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20110801183411.GA5182@fishbowl.rw.madduck.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Mon, Aug 01, 2011 at 08:34:11PM +0200, martin f krafft wrote: > > Yes, I have considered git-notes. The issue I have with git-notes is > that it requires every contributor to set up refspecs for fetch and > push, or else the notes will not be exchanged/shared. Notes are tracked using a 'branch' too. It's just a branch in the refs/notes namespace, the notes ref. You could simply tag your notes ref or point a ref from the refs/heads namespace to it each time you create new notes. > Also, git-notes are mutable (at least from the UI perspectiv) and > I strive to encode information immutably. Notes are also used by textconv, for example, to cache immutable data. It's not likely a user will end up editing it by accident unless you use the default notes ref. Clemens