[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: On the adoption of transient.el
From: |
Manuel Uberti |
Subject: |
Re: On the adoption of transient.el |
Date: |
Sun, 31 Jul 2022 09:08:25 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 |
> Currently I'm finishing implementation of a new vc command
> that will allow committing from a diff buffer. So for
> example, after displaying all changes with e.g. 'C-x v D'
> you can remove some unneeded hunks (with e.g. 'M-k' 'diff-
> hunk-kill'), then on the remaining hunks type 'C-c C-c' in
> the diff buffer. It will create a usual *vc-log* buffer
> where typing 'C-c C-c' will commit only changes from the
> diff buffer. Internally it works by running three git
> commands:
> `git stash push -m stash_name -- list_of_file_names_from_diff`
> `cat diff_buffer.patch | git am` # should also handle return code
> `git stash pop -q`
Hi Juri,
do you have any news on this command you were working on?
Thanks
--
Manuel Uberti
https://manueluberti.eu
- Re: On the adoption of transient.el,
Manuel Uberti <=