GNU bug report logs -
#2678
vc-git-register not working when passed a directory argument
Previous Next
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
Message #8 received at 2678 <at> emacsbugs.donarmstrong.com (full text, mbox):
Miles Bader <miles <at> gnu.org> writes:
> [Note: I have Dan's patch for fixing whole-directory vc-dir commit in
> Git applied, though I don't think it should affect the following, as it
> relates to final commit.]
>
> If I have a vc-dir buffer showing a tree where the only entries are new
> files (not yet registered with source-control):
>
> VC backend : Git
> Working dir: /tmp/zonk/
> Branch : master
>
> ./
> unregistered llll
> unregistered oiuoiu
>
> Then hitting "v" on the first line of the buffer acts strangely -- I'd
> expect it to simply register all these files with source control, but in
> fact, it simply appears to do nothing.
>
> There are actually several behaviors (though it always does nothing in
> the end). If this is the first time I've tried to do this, it just
> displays a message like "Registering (/tmp/zonk/)... done" [where
> "/tmp/zonk2" is the root of the working directory in question] but
> doesn't seem to really do it.
This is a vc-git.el problem, vc-git-register does not register the files.
Try the same thing with, say, mercurial and it work.
This bug report was last modified 15 years and 139 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.