1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-18 10:02:15 +03:00
Commit Graph

11 Commits

Author SHA1 Message Date
703256e92d Move LocalBranchSortOrder and RemoteBranchSortOrder to user config
At the same time, we change the defaults for both of them to "date" (they were
"recency" and "alphabetical", respectively, before). This is the reason we need
to touch so many integration tests. For some of them I decided to adapt the test
assertions to the changed sort order; for others, I added a SetupConfig step to
set the order back to "recency" so that I don't have to change what the test
does (e.g. how many SelectNextItem() calls are needed to get to a certain
branch).
2025-07-09 13:15:03 +02:00
d79283656d Add missing validation tests 2025-07-09 13:15:03 +02:00
a9f9dee30d Combine customCommand's subprocess, stream, and showOutput fields into a single output enum 2025-05-01 15:46:06 +02:00
4e3d09e9d8 Validate custom commands in sub menus 2025-05-01 15:21:27 +02:00
e295477951 Add test demonstrating missing validation for custom commands in sub menus
We only validate the commands at top level right now.
2025-04-30 17:41:49 +02:00
7137196788 Add comments in tests to explain what they test
Looking at these again, I needed a moment to remember what they do, so make this
more obvious to help future readers.
2025-04-30 17:31:58 +02:00
df17896de5 Validate properties of customCommand when commandMenu is used 2025-02-28 10:11:30 +01:00
5979b40546 Validate keys of custom commands 2025-02-21 13:20:53 +01:00
a5f78d3222 Validate that Universal.JumpToBlock array has 5 elements
The code that uses this panics if it has fewer.
2025-02-21 13:20:53 +01:00
f3791e6ab6 Validate keybindings 2025-02-21 13:20:53 +01:00
5c3aacb4cb UserConfig validation 2024-04-10 17:38:57 +02:00