From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.devel Subject: Re: Obscure error/warning/information message from git pull Date: Fri, 14 Nov 2014 12:03:43 -0500 Message-ID: <87r3x590k0.fsf@maru2.md5i.com> References: <20141114120604.GA3859@acm.acm> <87a93topxv.fsf@igel.home> <83h9y1j18p.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1415984656 20275 80.91.229.3 (14 Nov 2014 17:04:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Nov 2014 17:04:16 +0000 (UTC) Cc: acm@muc.de, Andreas Schwab , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 14 18:04:10 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 1XpKI5-0001IV-PJ for ged-emacs-devel@m.gmane.org; Fri, 14 Nov 2014 18:04:09 +0100 Original-Received: from localhost ([::1]:37316 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpKI5-0006zn-8C for ged-emacs-devel@m.gmane.org; Fri, 14 Nov 2014 12:04:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpKHx-0006yk-98 for emacs-devel@gnu.org; Fri, 14 Nov 2014 12:04:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XpKHs-0003WD-OV for emacs-devel@gnu.org; Fri, 14 Nov 2014 12:04:00 -0500 Original-Received: from md5i.com ([75.151.244.229]:59024 helo=maru2) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XpKHm-0003Ul-VV; Fri, 14 Nov 2014 12:03:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=Q0R+lIeo0MjWqFnVBktuaZrxEf2ZWmtb7mzZEDglj7k=; b=NYbQ0eYOK7W/5L0PYGj5ABtwMvnAZT3ja38fJfW9mmBSV/BmqkxLJ8LCtEdwTZs2Phn5eXzfvbqbGMQcRcTxAwuxP3gG0lrDTwlu7yx4XuNS83OE/dVg+t6Pjbg5pL4s; Original-Received: from md5i by maru2 with local (Exim 4.84) (envelope-from ) id 1XpKHf-00040d-KW; Fri, 14 Nov 2014 12:03:43 -0500 In-Reply-To: <83h9y1j18p.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 14 Nov 2014 16:38:46 +0200") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 75.151.244.229 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:177096 Archived-At: Eli Zaretskii writes: >> From: Andreas Schwab >> Date: Fri, 14 Nov 2014 14:46:20 +0100 >> Cc: emacs-devel@gnu.org >> >> I'd be much easier if you used git new-workdir. > > Which Git versions are safe to use with this? What are the caveats? > (I presume there are caveats, since you said on several occasions that > "it is being worked on".) Looking at the shell script, what it does is create the new work directory and a .git dir within it, and then symbolically links all important files/directories from the original repository's .git directory into the new .git dir, using ln -s. The HEAD link is copied rather than symlinked. So, from Windows this will probably work if "ln -s" does something reasonable and all the underlying stuff your version of git uses deals with symlinks properly. (This wasn't always a reasonable assumption under Windows in the past. You would know better than me what the current state of symlinks on Windows is.) -- Michael Welsh Duggan (md5i@md5i.com)