GNU bug report logs - #1067
23.0.60; vc-dir (git): doesn't update "branch" line

Previous Next

Package: emacs;

Reported by: Eric Hanchrow <offby1 <at> blarg.net>

Date: Thu, 2 Oct 2008 21:00:03 UTC

Severity: normal

Done: Dan Nicolaescu <dann <at> ics.uci.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1067 in the body.
You can then email your comments to 1067 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1067; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Eric Hanchrow <offby1 <at> blarg.net>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Eric Hanchrow <offby1 <at> blarg.net>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.60; vc-dir (git): doesn't update "branch" line
Date: Thu, 02 Oct 2008 13:54:13 -0700
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 <at> 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




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1067; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to Dan Nicolaescu <dann <at> ics.uci.edu>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #10 received at 1067 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: Eric Hanchrow <offby1 <at> blarg.net>
Cc: 1067 <at> debbugs.gnu.org
Subject: Re: bug#1067: 23.0.60; vc-dir (git): doesn't update "branch" line
Date: Thu, 2 Oct 2008 16:47:54 -0700 (PDT)
Eric Hanchrow <offby1 <at> blarg.net> 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 <at> 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.

`vc-dir-refresh' needs to recompute the header for vc-ewoc (i.e. run
(vc-dir-headers vc-dir-backend default-directory) )
and put the result back in the ewoc.

Do you want to take a stab at it?




Reply sent to Dan Nicolaescu <dann <at> ics.uci.edu>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Eric Hanchrow <offby1 <at> blarg.net>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #15 received at 1067-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: 1067-done <at> debbugs.gnu.org
Subject: Re: bug#1067: 23.0.60; vc-dir (git): doesn't update "branch" line
Date: Sat, 13 Dec 2008 09:57:51 -0800 (PST)
Fixed on  2008-10-03.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Sun, 11 Jan 2009 15:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 221 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.