[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28408: 26.0.50; support git rebase in vc-dir
From: |
Filipp Gunbin |
Subject: |
bug#28408: 26.0.50; support git rebase in vc-dir |
Date: |
Wed, 18 May 2022 16:23:15 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) |
On 17/05/2022 16:25 -0600, Tom Tromey wrote:
> Lars> in ~/.gitconfig, and that makes all this work automatically in vc-dir, I
> Lars> think? That, is I don't think it would be necessary to add anything
> Lars> further in this area. Does anybody else have an opinion here?
>
> This is a different thing. It might be nice to have the option of
> rebase on pull from Emacs, rather than merge on pull...
>
> But what I was really asking for here was being able to do the
> equivalent of typical "rebase -i" operations from inside emacs / vc-dir.
Yes, this would be great, I support this request. The interactive
rebase conveniently allows to specify multiple operations, by editing a
file. It could be integrated neatly into vc (which I also prefer over
magit).
For me the most frequent scenario is squashing commits. Currently I
just make a temporary branch, then merge there with --squash, and
force-rename it back to original branch name. This is more natural done
with interactive rebase.
Filipp