From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#1589: 23.0.60; vc-dir erroneously reports "No changes between working revision and workfile" Date: Wed, 17 Dec 2008 13:14:18 -0800 (PST) Message-ID: <200812172114.mBHLEIHE010217@mothra.ics.uci.edu> References: <873agoojvk.fsf@offby1.atm01.sea.blarg.net> Reply-To: Dan Nicolaescu , 1589@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229549100 17087 80.91.229.12 (17 Dec 2008 21:25:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2008 21:25:00 +0000 (UTC) Cc: 1589@emacsbugs.donarmstrong.com To: Eric Hanchrow Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 17 22:26:04 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LD3tw-0003TR-Ml for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Dec 2008 22:25:53 +0100 Original-Received: from localhost ([127.0.0.1]:48375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LD3sk-00008F-IA for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Dec 2008 16:24:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LD3sZ-0008Vq-Fm for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 16:24:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LD3sX-0008Uy-JI for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 16:24:27 -0500 Original-Received: from [199.232.76.173] (port=45829 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LD3sX-0008Uq-Ba for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 16:24:25 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44454) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LD3sW-000407-SS for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 16:24:25 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBHLOJ1P008245; Wed, 17 Dec 2008 13:24:20 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBHLK3Db007094; Wed, 17 Dec 2008 13:20:03 -0800 X-Loop: don@donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , don@donarmstrong.com Resent-Date: Wed, 17 Dec 2008 21:20:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: followup 1589 X-Emacs-PR-Package: emacs,vc-dir X-Emacs-PR-Keywords: Original-Received: via spool by 1589-submit@emacsbugs.donarmstrong.com id=B1589.12295484775708 (code B ref 1589); Wed, 17 Dec 2008 21:20:03 +0000 Original-Received: (at 1589) by emacsbugs.donarmstrong.com; 17 Dec 2008 21:14:37 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBHLEYvo005702 for <1589@emacsbugs.donarmstrong.com>; Wed, 17 Dec 2008 13:14:35 -0800 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id mBHLEIWe021087; Wed, 17 Dec 2008 13:14:18 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mBHLEIHE010217; Wed, 17 Dec 2008 13:14:18 -0800 (PST) In-Reply-To: <873agoojvk.fsf@offby1.atm01.sea.blarg.net> (Eric Hanchrow's message of "Mon, 15 Dec 2008 19:54:07 -0800") Original-Lines: 71 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mBHLEIWe021087 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Wed, 17 Dec 2008 16:24:27 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23337 Archived-At: Eric Hanchrow writes: > Please write in English if possible, because the Emacs maintainers > usually do not have translators to read other languages for them. > > Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. > > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug: > > Edit the third line of this script to point to your Emacs, and then run it. > > #!/bin/sh -x > > EMACS=/usr/local/src/emacs-with-my-tweaks.git/src/emacs > > cd /tmp > rm -rf xyzzy > > mkdir xyzzy > cd xyzzy > git init > mkdir Jack Jill > touch Jack/it Jill/it > git add . > git commit -m "golly!" > echo More stuff >> Jack/it > cd Jill > > git status > # You should see this output: > > # On branch master > # Changed but not updated: > # (use "git add ..." to update what will be committed) > # (use "git checkout -- ..." to discard changes in working directory) > # > # modified: ../Jack/it > # > > $EMACS -Q \ > --eval '(cd "/tmp/xyzzy/Jill")' \ > --eval '(vc-dir "/tmp/xyzzy/Jill")' > > # note that we're now looking at something like > > # VC backend : Git > # Working dir: /tmp/xyzzy/Jill/ > # Branch : master > # > # ./ > # Jack/ > # edited Jack/it > # > # This is not a vc-dir problem, but a vc-git.el problem. vc-dir just displays whatever vc-git-dir-status returns. In this case vc-git-dir-status should not return anything about "Jack". > # That seems a bit odd, since the name "Jack/it" doesn't name anything > # at all when interpreted relative to /tmp/xyzzy/Jill. > > # Furthermore, if you move point to "Jack/it" (by typing "n" twice), > # and then invoke vc-diff by typing "=", Emacs will respond with "No > # changes between working revision and workfile", which is wrong; the > # file is indeed modified. I'm guessing this is just an artifact because of the previous problem...