From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: emacs-repository-version on MS-Windows Date: Sun, 16 Nov 2014 20:00:49 +0200 Message-ID: <83wq6vc9f2.fsf@gnu.org> References: <83vbmii0ud.fsf@gnu.org> <5465D212.20604@gmx.at> <83lhndj2b3.fsf@gnu.org> <83oas8dxmm.fsf@gnu.org> <3isihk87gt.fsf@fencepost.gnu.org> <87oas89jbt.fsf@igel.home> <834mtzdtfr.fsf@gnu.org> <87389jxfzu.fsf@igel.home> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1416160889 12647 80.91.229.3 (16 Nov 2014 18:01:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Nov 2014 18:01:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 16 19:01:22 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xq48U-0004RM-JG for ged-emacs-devel@m.gmane.org; Sun, 16 Nov 2014 19:01:18 +0100 Original-Received: from localhost ([::1]:44636 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xq48U-0000Cw-7y for ged-emacs-devel@m.gmane.org; Sun, 16 Nov 2014 13:01:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xq48L-0008VZ-1z for emacs-devel@gnu.org; Sun, 16 Nov 2014 13:01:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xq48F-0005Q6-K8 for emacs-devel@gnu.org; Sun, 16 Nov 2014 13:01:09 -0500 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:47952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xq48F-0005Pw-D0; Sun, 16 Nov 2014 13:01:03 -0500 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NF500C008BD7300@mtaout28.012.net.il>; Sun, 16 Nov 2014 19:58:24 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NF5006LY8LC4N60@mtaout28.012.net.il>; Sun, 16 Nov 2014 19:58:24 +0200 (IST) In-reply-to: <87389jxfzu.fsf@igel.home> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.184 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:177332 Archived-At: > From: Andreas Schwab > Cc: rgm@gnu.org, emacs-devel@gnu.org > Date: Sun, 16 Nov 2014 17:33:09 +0100 > > .git can also be a gitdir file. Right, missed that part. Thanks. > > Question: Can .git/HEAD specify a branch in refs/remotes/? If so, > > what do we do in the above algorithm? punt and return nil? > > There is nothing wrong with that. You should not assume any meaning in > the ref namespaces. Sorry, I don't follow. refs/remotes/ means the active branch is not on the local machine, right? So how can Emacs get the tip SHA1 in that case?