all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Eric Hanchrow <offby1@blarg.net>
Cc: 1067@emacsbugs.donarmstrong.com
Subject: bug#1067: 23.0.60; vc-dir (git): doesn't update "branch" line
Date: Thu, 2 Oct 2008 16:47:54 -0700 (PDT)	[thread overview]
Message-ID: <200810022347.m92NlsxS019288@mothra.ics.uci.edu> (raw)
In-Reply-To: <87k5cqogzu.fsf@offby1.atm01.sea.blarg.net> (Eric Hanchrow's message of "Thu, 02 Oct 2008 13:54:13 -0700")

Eric Hanchrow <offby1@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@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	other threads:[~2008-10-02 23:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200812131757.mBDHvpbc009303@mothra.ics.uci.edu>
2008-10-02 20:54 ` bug#1067: 23.0.60; vc-dir (git): doesn't update "branch" line Eric Hanchrow
2008-10-02 23:47   ` Dan Nicolaescu [this message]
2008-12-13 18:05   ` bug#1067: marked as done (23.0.60; vc-dir (git): doesn't update "branch" line) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200810022347.m92NlsxS019288@mothra.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=1067@emacsbugs.donarmstrong.com \
    --cc=offby1@blarg.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.