From: Eli Zaretskii <eliz@gnu.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: emacs-devel@gnu.org
Subject: Re: How to switch Git branches with VC?
Date: Wed, 19 Nov 2014 20:39:54 +0200 [thread overview]
Message-ID: <831toz826d.fsf@gnu.org> (raw)
In-Reply-To: <86h9xwnww0.fsf@yandex.ru>
> From: Dmitry Gutov <dgutov@yandex.ru>
> Cc: emacs-devel@gnu.org
> Date: Tue, 18 Nov 2014 21:15:11 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > It sounds like there's no command (except M-!) to do that.
>
> `C-x v r' works okay for this, at least with vc-git.
Thanks.
Talk about obfuscation: a command that's called "retrieve-tag" doesn't
retrieve anything and is normally unrelated to tags!
I pushed to the emacs-24 branch some documentation changes that should
serve as stopgap. But I really think we should have a set of VC
commands that deal with branches: create them, switch to them, remove
them, etc. That the command to switch to a branch and to an arbitrary
commit or tag is the same with some VCSes is sheer luck: other VCSes
don't fit in this scheme, and require different commands and different
options for them.
next prev parent reply other threads:[~2014-11-19 18:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-18 16:08 How to switch Git branches with VC? Eli Zaretskii
2014-11-18 19:15 ` Dmitry Gutov
2014-11-19 18:39 ` Eli Zaretskii [this message]
2014-11-20 16:00 ` Dmitry Gutov
2014-11-20 17:03 ` Eli Zaretskii
2014-11-20 17:33 ` Eric S. Raymond
2014-11-20 17:30 ` Inadequate branch support in VC Eric S. Raymond
2014-11-22 12:39 ` Thien-Thi Nguyen
2014-11-22 15:44 ` Dmitry Gutov
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=831toz826d.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=dgutov@yandex.ru \
--cc=emacs-devel@gnu.org \
/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.