summaryrefslogtreecommitdiffstats
path: root/pkg/gui/controllers/helpers/patch_building_helper.go
AgeCommit message (Collapse)Author
2024-03-02Fix linter warningsStefan Haller
These started to pop up in my editor after I installed an update of gopls, I think. It's unfortunate that we don't see them on CI.
2023-09-04Don't pass ignoreWhitespace to git commandsStefan Haller
Now that AppState is available via common.Common, they can take it from there.
2023-05-19Disregard the "ignore whitespace" option in the patch building panelStefan Haller
It's not possible to reliably stage things into a custom patch when "ignore whitespace" is on, so always treat it as off here (like we do in the staging panel). It looks like this is a regression that was introduced in 8edad826ca.
2023-04-30standardise helper argsJesse Duffield
2023-04-30split context common from helper commonJesse Duffield
2023-04-30Begin refactoring guiJesse Duffield
This begins a big refactor of moving more code out of the Gui struct into contexts, controllers, and helpers. We also move some code into structs in the gui package purely for the sake of better encapsulation
2023-03-19rename patch manager to patch builderJesse Duffield
2023-03-04Keep side context in context stack when pushing a main contextStefan Haller
This fixes accordion mode for the commit files panel. When entering a file, the commit files panel should stay expanded.
2022-08-06refactor to only have one context per viewJesse Duffield
2022-03-17add commit files controllerJesse Duffield