From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#21383: Static revisions in vc-working-revision Date: Sat, 5 Sep 2015 23:30:15 +0300 Message-ID: <55EB50D7.2030103@yandex.ru> References: <55E41499.5030501@yandex.ru> <55E5094A.3010108@yandex.ru> <55E59487.1050804@yandex.ru> <55E5CA42.1080005@yandex.ru> <55E5DF1A.9010902@yandex.ru> <55E6D426.10105@yandex.ru> <55E89E83.6000501@yandex.ru> <55EA5CB0.9070007@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1441485085 32354 80.91.229.3 (5 Sep 2015 20:31:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Sep 2015 20:31:25 +0000 (UTC) Cc: 21383-done@debbugs.gnu.org, Jonathan H To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 05 22:31:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ZYK7C-0003e6-6S for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Sep 2015 22:31:10 +0200 Original-Received: from localhost ([::1]:42700 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYK7C-0002xQ-7v for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Sep 2015 16:31:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYK78-0002xB-NH for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2015 16:31:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZYK74-0003i8-ND for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2015 16:31:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZYK74-0003hj-KE for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2015 16:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZYK74-0000te-2I for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2015 16:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Sep 2015 20:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21383 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21383-done@debbugs.gnu.org id=D21383.14414850253399 (code D ref 21383); Sat, 05 Sep 2015 20:31:01 +0000 Original-Received: (at 21383-done) by debbugs.gnu.org; 5 Sep 2015 20:30:25 +0000 Original-Received: from localhost ([127.0.0.1]:50097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYK6T-0000sk-0X for submit@debbugs.gnu.org; Sat, 05 Sep 2015 16:30:25 -0400 Original-Received: from mail-lb0-f179.google.com ([209.85.217.179]:36513) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZYK6Q-0000sX-8D for 21383-done@debbugs.gnu.org; Sat, 05 Sep 2015 16:30:23 -0400 Original-Received: by lbcao8 with SMTP id ao8so25314412lbc.3 for <21383-done@debbugs.gnu.org>; Sat, 05 Sep 2015 13:30:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=w2UMKJQX1KbHmF6RHyEB4GUJCIa/E4NaO5IJL/6Eufg=; b=K3loN31BJ2IiIYRW2Eifmldxt3dWF2peb5RnIY9mWMy6lZY1qktrCEEtDQOhWdgI9c 0yICWS80N9trZvNuw8rL2y7vWngu5ehTK3AdTqX2091X4Y1EeokSvlCIvyw/RboF5Q3k x6wie8HYjt4hG6k4V7VOJ7AVsaxJ0Zu+FIVsRC5AmdAFzCorBSKFQVPvr6YEEdCOW3z7 4seDPTgSpqgM9nDflVzUxf6tHNGkm8wB3MxasW1deRP/VBbNMj8LlWog+oXlkVn0v/rt FWw9Db9wwUq4FEJk9VEoQt0tjFTxuHF34MYxZwN1lLF5YDbN8JAcKL0aW1Z6lRvS7ylj u7xw== X-Received: by 10.112.189.161 with SMTP id gj1mr9911605lbc.20.1441485021244; Sat, 05 Sep 2015 13:30:21 -0700 (PDT) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id si3sm1651320lbb.32.2015.09.05.13.30.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 05 Sep 2015 13:30:20 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Thunderbird/40.0 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:106182 Archived-At: On 09/05/2015 06:12 PM, Stefan Monnier wrote: > Yes, the file names would be relative to default-directory. Does vc-status get a relative file name as input? If yes, a) it's additional work for the caller, b) how are you going to enforce it?. Otherwise, (*). > But that means we pass redundant info, and that's only acceptable if we > can make reasonably sure that the two copies are in sync. > Using relative file names we don't have the problem of keeping duplicate > info in sync. (*) If we try to eliminate this duplication of info, we introduce duplication of effort inside VC. Seems to be pointless complexity. > No, I think that it's perfectly acceptable to say that the Git branch > used depends solely on default-directory. So if default-directory is > outside of $git_repo, you get what you asked for. This is true, but I'm not sure what you're getting at. Sorry.