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

Re: git add -p—splitting hunks, limit is too large

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Sep 4, 2016, 08:01 UTC
Message-ID
<alpine.DEB.2.20.1609041000420.129229@virtualbox>
In-Reply-To
<CAEtDOuV+0CKRSu9mJa27+yQKJ-QRyNmwecrZKaaCh0St+VagZg@mail.gmail.com>
Hi Beau,
On Fri, 2 Sep 2016, Beau Martinez wrote:
Show 6 quoted lines
> Hi git developers and community,
> 
> I'd like to inquire as to why `git add -p` can only split hunks so
> much. The limit is too large; why can't you split until each hunk is
> only a line? I often have to run `edit` and split them manually
> myself.
Please note that git gui lets you stage lines individually.

Ciao, Johannes

Previous: Johannes Schindelin
Message 5 of 5 in “git add -p—splitting hunks, limit is too large”
  1. Beau MartinezSep 2, 2016
  2. Jeff KingSep 2, 2016
  3. Christian NeukirchenSep 2, 2016
  4. Johannes SchindelinSep 4, 2016
  5. Johannes SchindelinSep 4, 2016

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.