From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tomas Carnecky Subject: Re: What's the definition of a valid Git symbolic reference? Date: Tue, 15 Feb 2011 06:02:57 +0100 Message-ID: <4D5A0901.7080202@dbservice.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Kevin Ballard , git@vger.kernel.org, Vicent Marti , libgit2@librelist.com To: Emeric Fermas X-From: git-owner@vger.kernel.org Tue Feb 15 06:03:25 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 1PpD4M-0005LA-UH for gcvg-git-2@lo.gmane.org; Tue, 15 Feb 2011 06:03:23 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750982Ab1BOFDF (ORCPT ); Tue, 15 Feb 2011 00:03:05 -0500 Received: from office.neopsis.com ([78.46.209.98]:39105 "EHLO office.neopsis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750788Ab1BOFDE (ORCPT ); Tue, 15 Feb 2011 00:03:04 -0500 X-Spam-Status: No, hits=0.0 required=5.0 tests=AWL: 0.072,BAYES_00: -1.665,TOTAL_SCORE: -1.593,autolearn=ham X-Spam-Level: Received: from calvin.local ([62.65.141.13]) (authenticated user tom@dbservice.com) by office.neopsis.com (using TLSv1/SSLv3 with cipher AES256-SHA (256 bits)); Tue, 15 Feb 2011 06:02:58 +0100 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On 2/15/11 4:49 AM, Emeric Fermas wrote: > Another possibility would be that only git internal symbolic > references are allowed to live under the ".git" dir (HEAD, FETCH_HEAD, > ...) and that user defined symrefs should live under refs/. In this All refs should live under refs/ (except the special ones like HEAD etc). It's usually a mistake if someone manages to create one outside of refs/. The plumbing commands allow you to do that, but users usually shouldn't use those. tom