summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-04-14fix test namesensure-test-list-correctnessJesse Duffield
2023-04-14ensure test list is correct in CIJesse Duffield
2023-04-13Merge pull request #2544 from scallaway/git-diff-detect-renamesJesse Duffield
2023-04-13Merge pull request #2496 from ↵Jesse Duffield
jesseduffield/feature/prevent-history-custom-command
2023-04-13Merge pull request #2523 from stefanhaller/editor-configJesse Duffield
2023-04-13Don't add custom command to history if it starts with spaceLuka Markušić
Add tests for custom command with leading space
2023-04-13Merge pull request #2539 from axieax/ssh-git-url-parsing-fixJesse Duffield
2023-04-13Show warning about deprecated edit configsStefan Haller
We print this to the terminal after lazygit quits rather than showing it in a panel at startup, so as to not annoy people too much. Hopefully it will still be prominent enough this way.
2023-04-13Update documentationStefan Haller
2023-04-13Change OpenCommand to Open and OpenLinkCommand to OpenLinkStefan Haller
We do this for consistency with the edit settings. The old names are kept as a fallback for now.
2023-04-13Don't set platform defaults on OSConfig struct immediatelyStefan Haller
Instead, query the platform defaults only if the config is empty. This will be necessary later to distinguish an empty config from a default config, so that we can give deprecation warnings.
2023-04-13Remove line number support for "open" commandStefan Haller
The "open" command is supposed to behave in the same way as double-clicking a file in the Finder/Explorer. The concept of jumping to a specific line in the file doesn't make sense for this; use "edit" instead.
2023-04-13Add support for falling back to legacy edit configStefan Haller
2023-04-13Implement edit presetsStefan Haller
2023-04-13Cleanup: fix copy/paste error in commentStefan Haller
2023-04-13Fix windows testsStefan Haller
Now that the tests run again, it turns out that they actually fail, so fix them.
2023-04-13Rename test files so that test discovery works againStefan Haller
These files were renamed from os_windows_test.go to os_test_windows.go (etc.) in 95b2e9540a5. Since then, the tests have no longer run, since go only looks for tests in files ending with "test.go". It isn't important that the file name ends with "_windows.go", since there are already build constrains in the files themselves.
2023-04-13Updated README.mdREADME-bot
2023-04-13Merge pull request #2541 from stefanhaller/fix-debugger-configJesse Duffield
2023-04-13feat: remove --no-renames flag from main panel diffs (to show renamed files)Scott Callaway
2023-04-12fix: organise commit test fileScott Callaway
Pulled this out into a separate commit since it was unrelated to the feature coming behind it. This just cleans up the `commit_test.go` file slightly (for the method that I was working on) so that the tests are built in a way that is slightly more readable - testing each configuration option individually without combining any of them.
2023-04-04Make debugger config work when changing repos while debuggingStefan Haller
When changing repos while debugging, the current working directory changes, which means that a daemon lazygit doesn't find the debugger_config.yml file any more when you do an interactive rebase. Fix this by using an absolute path for the --use-config-file option.
2023-04-03fix: generalize parsing of ssh git urlsAndrew
2023-04-02Merge pull request #2497 from stefanhaller/fix-initial-scroll-bar-sizeJesse Duffield
2023-04-02prevent unnecessary re-renders of viewJesse Duffield
2023-04-02Updated README.mdREADME-bot
2023-04-02Merge pull request #2485 from stefanhaller/interactive-rebase-improvementsJesse Duffield
2023-04-01Better error message when trying to amend a commit other than head during rebaseStefan Haller
2023-04-01Allow amending the head commit during interactive rebaseLuka Markušić
2023-04-01Extract amendHead function into new AmendHelperStefan Haller
2023-04-01Add integration test for amending from the files panelStefan Haller
2023-04-01Better error message when trying to edit or move a non-todo commit during rebaseStefan Haller
Previously we would have tried to do the rebase, resulting in a long and somewhat cryptic error message from git; now we check ourselves and show a less intimidating message.
2023-04-01Allow rewording the head commit during interactive rebaseStefan Haller
2023-04-01Set promptToReturnFromSubprocess to false for integration testsStefan Haller
There is no way how we could confirm the prompt in an integration test.
2023-04-01Cleanup: use commit.isTODO() consistentlyStefan Haller
It seems cleaner than checking the Status for "rebasing".
2023-03-26Merge pull request #2521 from jesseduffield/fix-reflog-text-colourJesse Duffield
2023-03-26fix reflog text colour by defaulting every view to the same foreground colourJesse Duffield
2023-03-24Merge pull request #2377 from shinhs0506/clear-staging-after-commitJesse Duffield
2023-03-24Updated README.mdREADME-bot
2023-03-24Merge pull request #2518 from jesseduffield/remove-old-integration-test-stuffJesse Duffield
2023-03-24remove old integration test recording codeJesse Duffield
2023-03-21Make sure scrollbars have the right size initiallyStefan Haller
We refresh the view after reading just enough to fill it, so that we see the initial content as quickly as possible, but then we continue reading enough lines so that we can tell how long the scrollbar needs to be, and then we refresh again. This can result in slight flicker of the scrollbar when it is first drawn with a bigger size and then jumps to a smaller size; however, that's a good tradeoff for a solution that provides both good speed and accuracy.
2023-03-20Push initial context instead of just putting it in the context arrayStefan Haller
This makes sure activateContext gets called on it.
2023-03-20Avoid deactivating and activating when pushing the current context againStefan Haller
When calling PushContext, do nothing if the context to be pushed is already on top of the stack. Avoids flicker in certain situations.
2023-03-20refresh the staging panel on successful commitJohn Shin
apply formatting
2023-03-20Merge pull request #2515 from stefanhaller/fix-deprecated-rand-seedJesse Duffield
2023-03-20Merge pull request #2495 from jesseduffield/feature/remove-altreturnJesse Duffield
2023-03-19Fix deprecated rand.SeedStefan Haller
2023-03-19Merge pull request #2513 from jesseduffield/refactor-patch-handlingJesse Duffield
2023-03-19rename patch manager to patch builderJesse Duffield