[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to commit hunks using VC?
From: |
Michael Heerdegen |
Subject: |
Re: How to commit hunks using VC? |
Date: |
Sat, 27 Oct 2018 00:16:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Whether you use "do ... undo" as above, or "cp foo foo.bak ... cp
> foo.bak foo" or "stash ... unstash" is up to you. To me these are
> just minor variants of the same approach.
That all sounds uncomfortable. Doesn't VC provide something like "give
me the index version of the current file as a separate buffer" together
with a command to update the index from that buffer? Then you could do
anything you like with means of Emacs (like using Ediff to stage hunks),
and hit a key to update the index from the buffer (like C-c C-c) when
done.
Michael.
- Re: How to commit hunks using VC?, (continued)
- Re: How to commit hunks using VC?, Stefan Monnier, 2018/10/26
- Re: How to commit hunks using VC?, Carlos Konstanski, 2018/10/26
- Re: How to commit hunks using VC?, Eli Zaretskii, 2018/10/26
- Re: How to commit hunks using VC?, Stefan Monnier, 2018/10/26
- Re: How to commit hunks using VC?, Yuri Khan, 2018/10/26
- Re: How to commit hunks using VC?, Stefan Monnier, 2018/10/26
- Re: How to commit hunks using VC?, Yuri Khan, 2018/10/26
- Re: How to commit hunks using VC?, Óscar Fuentes, 2018/10/26
- Re: How to commit hunks using VC?, Stefan Monnier, 2018/10/26
- Re: How to commit hunks using VC?, Óscar Fuentes, 2018/10/26
- Re: How to commit hunks using VC?,
Michael Heerdegen <=
- Re: How to commit hunks using VC?, Stefan Monnier, 2018/10/26
- Re: How to commit hunks using VC?, Michael Heerdegen, 2018/10/26
Re: How to commit hunks using VC?, Diogo F. S. Ramos, 2018/10/26