Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-01-24 | Refactor repo_paths.go to use git rev-parse | John Whitley | |
This changes GetRepoPaths() to pull information from `git rev-parse` instead of effectively reimplementing git's logic for pathfinding. This change fixes issues with bare repos, esp. versioned homedir use cases, by aligning lazygit's path handling to what git itself does. This change also enables lazygit to run from arbitrary subdirectories of a repository, including correct handling of symlinks, including "deep" symlinks into a repo, worktree, a repo's submodules, etc. Integration tests are now resilient against unintended side effects from the host's environment variables. Of necessity, $PATH and $TERM are the only env vars allowed through now. | |||
2024-01-19 | Standardise display of range selection across views | Jesse Duffield | |
We're not fully standardising here: different contexts can store their range state however they like. What we are standardising on is that now the view is always responsible for highlighting the selected lines, meaning the context/controller needs to tell the view where the range start is. Two convenient benefits from this change: 1) we no longer need bespoke code in integration tests for asserting on selected lines because we can just ask the view 2) line selection in staging/patch-building/merge-conflicts views now look the same as in list views i.e. the highlight applies to the whole line (including trailing space) I also noticed a bug with merge conflicts not rendering the selection on focus though I suspect it wasn't a bug with any real consequences when the view wasn't displaying the selection. I'm going to scrap the selectedRangeBgColor config and just let it use the single line background color. Hopefully nobody cares, but there's really no need for an extra config. | |||
2023-08-01 | Add explosion animation when nuking working tree | Jesse Duffield | |
I've been thinking about this for a while: I think it looks really cool if nuking your working tree actually results in a nuke animation. So I've added an opt-out config for it | |||
2023-07-31 | Add demo test variant | Jesse Duffield | |
We're piggybacking on our existing integration test framework to record demos that we can include in our docs | |||
2023-04-01 | Set promptToReturnFromSubprocess to false for integration tests | Stefan Haller | |
There is no way how we could confirm the prompt in an integration test. | |||
2023-02-26 | show file tree by default in integration tests | Jesse Duffield | |
2023-02-26 | cleanup integration test code | Jesse Duffield | |
2023-02-26 | remove legacy integration tests | Jesse Duffield | |
2023-02-26 | disable auto-refresh in integration tests | Jesse Duffield | |
2023-02-26 | migrate merge conflict tests | Jesse Duffield | |
2023-02-25 | migrate patch building tests | Jesse Duffield | |
2023-02-23 | migrate staging tests | Jesse Duffield | |
2023-02-22 | migrate more tests | Jesse Duffield | |
2023-02-22 | migrate more tests | Jesse Duffield | |
2023-02-22 | migrate reflog integration tests | Jesse Duffield | |
2023-02-22 | migrate interactive rebase integration tests | Jesse Duffield | |
2023-02-21 | Merge pull request #2293 from jesseduffield/feature/make-discarding-harder | Jesse Duffield | |
2023-02-21 | migrate push tests | Jesse Duffield | |
2023-02-20 | migrate stash tests | Jesse Duffield | |
2023-02-20 | migrate switch tab from menu test | Jesse Duffield | |
2023-02-20 | remove old tag tests | Jesse Duffield | |
2023-02-20 | migrate undo2 | Jesse Duffield | |
2023-02-19 | migrate undo test | Jesse Duffield | |
2023-02-19 | migrate merge conflict undo test | Jesse Duffield | |
2023-02-19 | migrate revert merge test | Jesse Duffield | |
2023-02-19 | migrate initial open test | Jesse Duffield | |
2023-02-19 | remove already migrated test | Jesse Duffield | |
2023-02-19 | migrate open to branches with cli arg test | Jesse Duffield | |
2023-02-19 | migrate more force push tests | Jesse Duffield | |
2023-02-19 | migrate forcePush integration test | Jesse Duffield | |
2023-02-19 | migrate pullAndSetUpstream test | Jesse Duffield | |
2023-02-19 | migrate pull integration test | Jesse Duffield | |
2023-02-12 | migrate submodule reset test | Jesse Duffield | |
2023-02-12 | migrate submodule enter test | Jesse Duffield | |
2023-02-12 | fix test | Jesse Duffield | |
2023-02-12 | migrate submodule remove test | Jesse Duffield | |
2023-02-12 | migrate submodule add test | Jesse Duffield | |
2022-12-30 | migrate filter path tests | Jesse Duffield | |
2022-12-30 | migrate test for rename branch and pull | Jesse Duffield | |
2022-12-30 | migrate fetchPrune integration test | Jesse Duffield | |
2022-12-30 | more git ignore stuff in integration test | Jesse Duffield | |
2022-12-28 | migrate ignore gitignore integration test | Jesse Duffield | |
2022-12-28 | migrate discard staged changes test | Jesse Duffield | |
2022-12-28 | migrate discard old file change test | Jesse Duffield | |
2022-12-24 | discard changes integration test | Jesse Duffield | |
2022-12-21 | migrate diffing integration tests | Jesse Duffield | |
2022-12-20 | migrate confirm-on-quit integration test | Jesse Duffield | |
2022-12-20 | remove snapshot approach for new integration tests | Jesse Duffield | |
2022-12-20 | add commit revert integration test | Jesse Duffield | |
2022-12-20 | add multi-line commit integration test | Jesse Duffield | |