[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch: first impression]
From: |
Dmitry Gutov |
Subject: |
Re: [patch: first impression] |
Date: |
Mon, 24 Oct 2022 04:03:54 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 |
On 19.10.2022 08:40, Uwe Brauer wrote:
Dmitry, with this approach maybe then even
hg shelve -i
would be doable?
I suppose something like this could work for Git and Hg:
1) Stash/Shelve all current changes.
2) Apply the provided patch. Somehow deal carefully with the new files
in there, especially when said files are already present (and
unregistered) in the work tree. Probably by scanning the file list in
the patch in advance and 'git add'-ing all the existing new file first
in step 1.
3) Stash the currently applied new changes. Also don't forget to 'git
add' any unregistered files.
4) Unstash/unshelve the previous stash.
And I guess it will require a new key binding in diff-mode buffers.
- Re: [patch: first impression], (continued)
- Re: [patch: first impression], Dmitry Gutov, 2022/10/18
- Re: [patch: first impression], Uwe Brauer, 2022/10/18
- Re: [patch: first impression], Dmitry Gutov, 2022/10/18
- Re: [patch: first impression], Dr. Arne Babenhauserheide, 2022/10/18
- Re: [patch: first impression], Dr. Arne Babenhauserheide, 2022/10/18
- Re: [patch: first impression], Dmitry Gutov, 2022/10/23
- Re: [patch: first impression], Uwe Brauer, 2022/10/24
- Re: [patch: first impression], Dmitry Gutov, 2022/10/24
- Re: [patch: first impression], Uwe Brauer, 2022/10/24
- Re: [patch: first impression], Uwe Brauer, 2022/10/19
- Re: [patch: first impression],
Dmitry Gutov <=
- Re: [patch: first impression], Uwe Brauer, 2022/10/24
- Re: [patch: first impression], Dmitry Gutov, 2022/10/24
- Re: [patch: first impression], Robert Pluim, 2022/10/25
- Re: [patch: first impression], Uwe Brauer, 2022/10/25
- Re: [patch: first impression], Robert Pluim, 2022/10/25
- Re: [patch: first impression], Eli Zaretskii, 2022/10/25
- Re: [patch: first impression], Uwe Brauer, 2022/10/25