GNU bug report logs -
#1067
23.0.60; vc-dir (git): doesn't update "branch" line
Previous Next
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.
Full log
View this message in rfc822 format
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?
This bug report was last modified 16 years and 222 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.