lazygit/pkg/commands/patch
Jesse Duffield fdff2dec79 Remove redundant variable dedeclarations
In go 1.22, loop variables are redeclared with each iteration of the
loop, rather than simple updated on each iteration. This means that we
no longer need to manually redeclare variables when they're closed over
by a function.
2024-05-19 16:38:21 +10:00
..
format.go Standardise display of range selection across views 2024-01-19 10:47:21 +11:00
hunk.go refactor patch code 2023-03-19 16:30:39 +11:00
parse.go refactor patch code 2023-03-19 16:30:39 +11:00
patch.go Stop cycling hunks when reaching the end 2023-08-15 11:40:40 +02:00
patch_builder.go standardize 'Commit Sha' to 'Commit Hash' 2024-04-12 08:31:40 +02:00
patch_line.go refactor patch code 2023-03-19 16:30:39 +11:00
patch_test.go Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
transform.go refactor patch code 2023-03-19 16:30:39 +11:00