1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-14 11:23:09 +02:00
lazygit/pkg/git
Jesse Duffield 081598d989 rewrite staging to support line ranges and reversing
Now we can stage lines by range and we can also stage reversals
meaning we can delete lines or move lines from the working tree
to the index and vice versa.

I looked at how a few different git guis achieved this to iron out
some edge cases, notably ungit and git cola. The end result is
disstinct  from both those repos, but I know people care about
licensing and stuff so I'm happy to revisit this if somebody
considers it derivative.
2019-11-05 19:22:01 +11:00
..
testdata staging lines and hunks 2018-12-05 19:33:46 +11:00
branch_list_builder.go err was assigned but never checked 2019-07-27 10:55:01 +10:00
commit_list_builder_test.go fix up tests 2019-03-02 13:39:09 +11:00
commit_list_builder.go Swallow errors entirely, instead of assigning and ignoring them 2019-07-27 10:53:19 +10:00
patch_modifier_test.go rewrite staging to support line ranges and reversing 2019-11-05 19:22:01 +11:00
patch_modifier.go rewrite staging to support line ranges and reversing 2019-11-05 19:22:01 +11:00
patch_parser.go rewrite staging to support line ranges and reversing 2019-11-05 19:22:01 +11:00