From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Hanchrow Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1067: 23.0.60; vc-dir (git): doesn't update "branch" line Date: Thu, 02 Oct 2008 13:54:13 -0700 Message-ID: <87k5cqogzu.fsf@offby1.atm01.sea.blarg.net> Reply-To: Eric Hanchrow , 1067@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 1222981940 28424 80.91.229.12 (2 Oct 2008 21:12:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2008 21:12:20 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 02 23:13:18 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 1KlVTs-0003JW-AC for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 23:13:04 +0200 Original-Received: from localhost ([127.0.0.1]:54215 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlVSp-0002Zt-6B for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2008 17:11:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KlVQv-0000xp-3m for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 17:10:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KlVQt-0000wU-NH for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 17:10:00 -0400 Original-Received: from [199.232.76.173] (port=57098 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KlVQt-0000wM-H3 for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 17:09:59 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46038) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KlVQs-0003ZK-NL for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2008 17:09:59 -0400 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 m92L9uJd005513; Thu, 2 Oct 2008 14:09:56 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m92L03D7002492; Thu, 2 Oct 2008 14:00:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Eric Hanchrow Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 02 Oct 2008 21:00:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1067 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12229808711201 (code B ref -1); Thu, 02 Oct 2008 21:00:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 2 Oct 2008 20:54:31 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m92KsRI9001195 for ; Thu, 2 Oct 2008 13:54:28 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:33839) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KlV9e-0001XL-Mr for emacs-pretest-bug@gnu.org; Thu, 02 Oct 2008 16:52:11 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KlVBm-0003kI-Qt for emacs-pretest-bug@gnu.org; Thu, 02 Oct 2008 16:54:25 -0400 Original-Received: from smtp61.avvanta.com ([206.124.128.61]:38037 helo=mail.avvanta.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KlVBl-0003hK-PE for emacs-pretest-bug@gnu.org; Thu, 02 Oct 2008 16:54:22 -0400 Original-Received: from mail.avvanta.com (localhost.drteeth.p.blarg.net [127.0.0.1]) by mail.avvanta.com (Postfix) with ESMTP id 78C80F3963 for ; Thu, 2 Oct 2008 13:54:14 -0700 (PDT) Original-Received: from offby1.atm01.sea.blarg.net (q-static-138-125.avvanta.com [206.124.138.125]) by mail.avvanta.com (Postfix) with ESMTP id 55322F3961 for ; Thu, 2 Oct 2008 13:54:14 -0700 (PDT) Original-Received: from erich by offby1.atm01.sea.blarg.net with local (Exim 4.69) (envelope-from ) id 1KlVBd-00043d-6S for emacs-pretest-bug@gnu.org; Thu, 02 Oct 2008 13:54:13 -0700 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-BlargAV-Status: No viruses detected, BlargAV v1.1 on localhost.drteeth.p.blarg.net X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 02 Oct 2008 17:10:00 -0400 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:21001 gmane.emacs.pretest.bugs:23131 Archived-At: 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: * I started Emacs in a git working tree, whose checked-out branch was named "master": $ cd /usr/local/src/emacs-via-git/src $ git branch * master $ ./emacs -Q -nw * I ran vc-dir by typing C-x v d, and noticed that the output was correct: in particular, it said "Branch : master" * I created, and switched to, a new branch, by typing M-! git checkout -b fred RET * I "refreshed" the *vc-dir* buffer by typing g ("revert-buffer"). I noticed that it _still_ said "Branch : master". This is the bug; I expected to see "Branch : fred". * I killed the *vc-dir* buffer with C-x k RET, then recreated it with C-x v d. This time, I saw "Branch : fred", as I expected. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/local/src/emacs-via-git/etc/DEBUG for instructions. In GNU Emacs 23.0.60.19 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of 2008-09-28 on debian configured using `configure '--enable-maintainer-mode' '--with-xpm=yes' '--with-jpeg=no' '--with-gif=no' '--with-tiff=no' '--with-xft' '--with-x-toolkit=gtk'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: tooltip-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f d r TAB RET ESC x r e p o r TAB RET Recent messages: ("./emacs" "-Q") For information about GNU Emacs and the GNU system, type C-h C-a. Loading vc-git...done -- Unix ... is not so much a product as it is a painstakingly compiled oral history of the hacker subculture. It is our Gilgamesh epic. -- Neal Stephenson