GNU bug report logs - #2678
vc-git-register not working when passed a directory argument

Previous Next

Package: emacs;

Reported by: Miles Bader <miles <at> gnu.org>

Date: Sun, 15 Mar 2009 06:15:04 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

From: Miles Bader <miles <at> gnu.org>
To: Dan Nicolaescu <dann <at> ics.uci.edu>
Cc: 2678 <at> debbugs.gnu.org
Subject: bug#2678: 23.0.91; vc-next-action in vc-dir acts strangely when  only adds are necessary
Date: Sat, 21 Mar 2009 12:00:20 +0900
On Sat, Mar 21, 2009 at 11:54 AM, Dan Nicolaescu <dann <at> ics.uci.edu> wrote:
>  >    (2) Perhaps vc-dir it should do a "revert-buffer" (or something)
>  > afterwards when it operations on a subdirectory or the whole
>  > directory, as any operation with the backend doing the recursion may
>  > change something other than what is displayed.  This is easy to see if
>  > their were unregistered subdirectories with files -- doing "v" to
>  > register a subdirectory adds all files in that directory, which vc-dir
>  > hadn't displayed before, so currently "v" doesn't properly show them
>  > afterwards (doing "g" shows them).
>
> It does, but there might be other things not working correctly with git,
> try with hg and you will see it working correctly.

It does what?  A revert?  Or always updates the display correctly in
the subdir case without a revert?  If it's the latter, what mechanism
does the backend use to communicate to vc-dir that more stuff has
shown up?  [or does the backend just do a revert itself?]

Thanks,

-Miles

-- 
Do not taunt Happy Fun Ball.




This bug report was last modified 15 years and 140 days ago.

Previous Next


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