From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: vc-git bug with top-level repositories Date: Fri, 29 Aug 2008 09:40:54 +0900 Message-ID: <87vdxkmz55.fsf@catnip.gol.com> References: <200808181433.m7IEX8U3028640@sallyv1.ics.uci.edu> <200808181639.m7IGd1kb005968@sallyv1.ics.uci.edu> <200808182031.m7IKVbR7001754@sallyv1.ics.uci.edu> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219970433 6671 80.91.229.12 (29 Aug 2008 00:40:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Aug 2008 00:40:33 +0000 (UTC) Cc: dann@ics.uci.edu, ams@gnu.org, claus.klingberg@gmail.com, eliz@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 29 02:41:25 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KYs3D-0004WD-LH for ged-emacs-devel@m.gmane.org; Fri, 29 Aug 2008 02:41:20 +0200 Original-Received: from localhost ([127.0.0.1]:49634 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYs2D-0007wc-B3 for ged-emacs-devel@m.gmane.org; Thu, 28 Aug 2008 20:40:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYs29-0007wR-9u for emacs-devel@gnu.org; Thu, 28 Aug 2008 20:40:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYs27-0007wF-SE for emacs-devel@gnu.org; Thu, 28 Aug 2008 20:40:12 -0400 Original-Received: from [199.232.76.173] (port=49713 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYs27-0007wC-JN for emacs-devel@gnu.org; Thu, 28 Aug 2008 20:40:11 -0400 Original-Received: from smtp11.dentaku.gol.com ([203.216.5.73]:56915) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KYs1q-0000b2-KT; Thu, 28 Aug 2008 20:39:55 -0400 Original-Received: from 218.231.174.190.eo.eaccess.ne.jp ([218.231.174.190] helo=catnip.gol.com) by smtp11.dentaku.gol.com with esmtpa (Dentaku) id 1KYs1i-00050I-Nt; Fri, 29 Aug 2008 09:39:46 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 24EE5DF74; Fri, 29 Aug 2008 09:40:54 +0900 (JST) System-Type: x86_64-unknown-linux-gnu In-Reply-To: (Stefan Monnier's message of "Wed, 27 Aug 2008 22:09:21 -0400") Original-Lines: 20 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:103121 Archived-At: Stefan Monnier writes: >> I don't think this will fly: currently VC works even when you're looking >> at a project to which you don't have write access, so neither the files >> nor the .git might be writable. > >> AFAIK, atleast for git, you must have write access, if you do not you >> cannot ceate a lock file. > > So you need write access even just to do things like diff or even > just diff-index? That's too bad. So maybe for Git we could use that > refinement of my heuristic, but it wouldn't help for other backends. I have no idea what ams is talking about here -- operations like log-viewing and diffing seem to work just fine in git without write access. -Miles -- We live, as we dream -- alone....