git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: 'git format-patch' --interactive?

From
David Aguilar <davvid@gmail.com>
Date
Aug 31, 2008, 09:32 UTC
Message-ID
<402731c90808310232r56f399y55216f7f7748ed42@mail.gmail.com>
In-Reply-To
<48BA1D9D.1070003@gmail.com>
On Sat, Aug 30, 2008 at 9:27 PM, Ittay Dror <ittay.dror@gmail.com> wrote:
Show 12 quoted lines
> 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
>
> --
> --
> Ittay Dror <ittay.dror@gmail.com>
>

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.

-- 
 David
Previous: Ittay Dror
Message 2 of 2 in “'git format-patch' --interactive?”
  1. Ittay DrorAug 31, 2008
  2. David AguilarAug 31, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.