summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2024-05-18 10:07:24 +0200
committerGitHub <noreply@github.com>2024-05-18 10:07:24 +0200
commit189f39de2be6fadc225f3fc56420bab739397ec1 (patch)
tree2feda50e68deb380878e83cf5f6d2f40f9380b8e /.github
parentd8b3c0e5681ff92a554a9ba81671e9ac10246d17 (diff)
parent5b80c0c7926da42e1126b817513f440513dc4e5c (diff)
Fix Stashing partial files for git version >= 2.35.0 (#3569)
- **PR Description** Use git's `--staged` flag to stash staged changes if available (requires git 2.35.0 or later), and fall back to our previous method if not. This is a lot faster than our previous method, and it fixes two bugs, see linked issues. Fixes #3333 and #3563. - **Please check if the PR fulfills these requirements** * [x] Cheatsheets are up-to-date (run `go generate ./...`) * [x] Code has been formatted (see [here](https://github.com/jesseduffield/lazygit/blob/master/CONTRIBUTING.md#code-formatting)) * [x] Tests have been added/updated (see [here](https://github.com/jesseduffield/lazygit/blob/master/pkg/integration/README.md) for the integration test guide) * [x] Text is internationalised (see [here](https://github.com/jesseduffield/lazygit/blob/master/CONTRIBUTING.md#internationalisation)) * [x] Docs (specifically `docs/Config.md`) have been updated if necessary * [x] You've read through your own file changes for silly mistakes etc
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions