Skip to contentSkip to conversation

'git format-patch' --interactive?

DISCUSSION Ittay Dror 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore

Ittay Dror

author
#0 lore raw

Hi,

Is there a way (tool) to allow me to interactively format a patch so that I can remove formatting noise or insignificant changes?

Thank you,
Ittay

Signature · 2 lines
--
Ittay Dror <[email protected]>
#1 lore raw
Quoted 5 lines · Ittay Dror

Hi,

Is there a way (tool) to allow me to interactively format a patch so that I can remove formatting noise or insignificant changes?

Quoted 7 lines

Thank you,
Ittay

--
--
Ittay Dror <[email protected]>

Yes -- get changes into your worktree (through e.g. "git apply") and then use "git cola" to edit the index and/or worktree into a commitable state
.
http://cola.tuxfamily.org/

You can undo or ignore specific changes to a file, which is what it sounds like you're trying to do.

Signature · 1 line
 David