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

Re: Re: [RFC PATCH v2 0/2] git-gui: (un)stage a range of changes at once

From
Heiko Voigt <hvoigt@hvoigt.net>
Date
Dec 7, 2009, 12:54 UTC
Message-ID
<20091207125435.GA43609@book.hvoigt.net>
In-Reply-To
<20091205213613.GG5610@spearce.org>
On Sat, Dec 05, 2009 at 01:36:13PM -0800, Shawn O. Pearce wrote:
Show 11 quoted lines
> Jeff Epler <jepler@unpythonic.net> wrote:
> > I've found another problem, which I'll work on as soon as I find a
> > chance.
> > 
> > When staging multiple "+" lines preceded by a "-" line that must be
> > turned into context, the converted "-" line must come after *all* the
> > "+" lines, not just the first one.
> 
> So the reason this series got stuck was this message, this bug is
> enough to suggest we shouldn't apply it to my tree yet, so I've
> been waiting for an update on the topic.

In an attempt to help this series forward I tried to reproduce this bug but were unsuccessfull. It seems that a change like this:

@@ -13,7 +13,9 @@ set appvers {@@GITGUI_VERSION@@}
 set copyright [encoding convertfrom utf-8 {
 Copyright © 2006, 2007 Shawn Pearce, et. al.
 
-This program is free software; you can redistribute it and/or modify
+Blabla
+blubblub
+lalala
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.

and then trying to stage part of the '+' lines is not enough. Jeff could you
clarify or provide an example?

cheers Heiko
Previous: Shawn O. PearceNext: Jeff Epler
Message 7 of 12 in “git-gui: (un)stage a range of changes at once”
  1. 0/2 git-gui: (un)stage a range of changes at onceJeff Epler, Oct 21, 2009
  2. 1/2 Fix applying a line when all following lines are deletionsJeff Epler, Oct 21, 2009
  3. Shawn O. PearceDec 5, 2009
  4. 2/2 Make it possible to apply a range of changes at onceJeff Epler, Oct 21, 2009
  5. Jeff EplerOct 26, 2009
  6. Shawn O. PearceDec 5, 2009
  7. Heiko VoigtDec 7, 2009
  8. Jeff EplerDec 8, 2009
  9. Heiko VoigtDec 11, 2009
  10. Peter BaumannOct 29, 2009
  11. Heiko VoigtDec 4, 2009
  12. Shawn O. PearceDec 5, 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.