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

Re: [RFC PATCH] git-gui: Allow staging multiple lines at once

From
Heiko Voigt <hvoigt@hvoigt.net>
Date
Oct 22, 2009, 19:51 UTC
Message-ID
<20091022195116.GB3944@book.hvoigt.net>
In-Reply-To
<20091019195456.GA11121@unpythonic.net>
On Mon, Oct 19, 2009 at 02:54:57PM -0500, Jeff Epler wrote:
Show 7 quoted lines
> When applying less than a full hunk, it's still often desirable to apply
> a number of consecutive lines.
> 
> This change makes it possible to sweep out a range of lines in the diff view
> with the left mouse button, then right click and "Stage Lines For Commit".
> 
> The selected lines may span multiple hunks.

Thanks a lot! Very nice. I've been planning to implement this sometime myself but never got around it.

Tested it and it works like a charm. I will include Shawn in the CC: so he can comment.

cheers Heiko
Previous: Dirk SüsserottNext: Jeff Epler
Message 5 of 6 in “git-gui: Allow staging multiple lines at once”
  1. git-gui: Allow staging multiple lines at onceJeff Epler, Oct 19, 2009
  2. Geert BoschOct 19, 2009
  3. Johannes SixtOct 20, 2009
  4. Dirk SüsserottOct 20, 2009
  5. Heiko VoigtOct 22, 2009
  6. Jeff EplerOct 23, 2009

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.