1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-15 22:01:43 +03:00
Commit Graph

17 Commits

Author SHA1 Message Date
f76cc27956 Bundle the reverse and keepOriginalHeader flags into a PatchOptions struct
We are going to add one more flag in the next commit.

Note that we are not using the struct inside patch_manager.go; we keep passing
the individual flags there. The reason for this will become more obvious later
in this branch.
2023-03-07 09:49:34 +01:00
524bf83a4a refactor to only have one context per view 2022-08-06 13:49:11 +10:00
bf4f06ab4e more generics 2022-03-24 20:14:41 +11:00
c7a629c440 make more use of generics 2022-03-24 20:14:41 +11:00
a34bdf1a04 update linters 2022-03-19 12:12:57 +11:00
bbb5eee23a privatise some fields 2022-01-07 10:52:51 +11:00
e73de332a1 refactor line by line panel 2021-04-18 16:55:09 +10:00
7364525bf5 do not show commit files of another parent as added to the patch 2021-04-02 11:00:15 +11:00
54910fdb76 refactor 2021-04-02 11:00:15 +11:00
ade54b38c1 cleanup 2020-08-23 14:29:18 +10:00
95a4ca6f8e remove todo comment 2020-08-23 14:29:18 +10:00
43d891b8d6 support creating patches from files in diff mode 2020-08-23 14:29:18 +10:00
30a555b108 don't needlessly load every file 2020-08-23 14:29:18 +10:00
12bf851c7d faster patch manager 2020-08-23 14:29:18 +10:00
59f5f5c1af refactor 2020-08-23 14:29:18 +10:00
e6a1bd6566 generalise patch building stuff 2020-08-23 14:29:18 +10:00
826d1660c9 move patch stuff into its own package 2020-08-15 11:41:37 +10:00