Skip to content

git-gui: (un)stage a range of changes at once

[email protected] git 2 versions Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 1 replyApplied
  2. v2 RFC2 patches 9 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2Fix applying a line when all following lines are deletionslib/diff.tcl+1 -00 replies
2/2Make it possible to apply a range of changes at oncegit-gui.sh lib/diff.tcl+153 -1041 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCHv3 0/2] git-gui: (un)stage a range of changes at once

From: Jeff Epler <[email protected]>

This set of patches allows git-gui to stage multiple lines at once by selecting the range and then using the "apply lines" item in the context menu.

Compared to the earlier versions, I've fixed all the bugs I became aware of. I've also added the missing signed-off-by.

The first patch fixes an existing bug in git-gui when staging a deletion followed by another deletion followed by the end of the file.

Jeff Epler (2):
Fix applying a line when all following lines are deletions Make it possible to apply a range of changes at once

 git-gui.sh   |   15 +++-
 lib/diff.tcl |  241 ++++++++++++++++++++++++++++++++++------------------------
 2 files changed, 153 insertions(+), 103 deletions(-)