[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vc-register complains if a file is already registered in a git repos
Re: vc-register complains if a file is already registered in a git repository
Tue, 21 Oct 2008 21:37:21 -0400
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
> I just noticed the existence of the vc-default-could-register function:
> Return non-nil if BACKEND could be used to register FILE.
> It seems like vc-register should be running this function instead of
> vc-registered to check if it should continue, like this:
No, could-register is used for other purposes.
> Since we're in a feature freeze, perhaps this is ill-advised?
>> It would probably be better for vc-git to provide another command, for that.
>> We could probably add a `extra-keys' operation similar to `extra-menu'
>> so that vc-git can not only provide a new command but also provide
>> a specific C-x v <foo> key binding for it.
> This would be great if we don't want to make the changes above. I can
> add it. Could I get some details about extra-menu though? I'm not
> familiar with it.
Grep for extra-menu and extra-status-menu (which should be renamed
extra-dir-menu, BTW) in vc*.el.