1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-19 00:28:03 +02:00
Commit Graph

6505 Commits

Author SHA1 Message Date
efd49f07fd Support custom keybindings for confirm discard () 2023-08-28 19:36:39 +10:00
b8e183acc4 Add installation guide using winget CLI () 2023-08-28 14:58:56 +10:00
821c4b05fe Add Winget to installation guide 2023-08-27 05:50:12 -03:00
4272d84fa2 Add Winget to installation guide 2023-08-27 05:45:43 -03:00
e95505453e Update docs 2023-08-25 08:52:52 -05:00
6dc34d19ea Support custom keybindings for confirm discard 2023-08-25 08:50:05 -05:00
a670fbb33c Select same commit again after pressing "e" to edit a commit () 2023-08-24 10:48:07 +02:00
98e6c119f5 Select same commit again after pressing "e" to edit a commit
When editing a commit, the index of the current commit can change; for example,
when merge commits are involved, or when working with stacked branches where
"update-ref" commands may be added above the selected commit.

Reselect the current commit after pressing "e"; this requires doing the refresh
blocking on the main thread. (Another option that I considered was to use a
SYNC refresh, and then select the new line with an OnUIThread inside the Then
function. This also works, but results in a very visible lag.)
2023-08-22 14:08:12 +02:00
c718a73d0a Call Then function only after everything is done
I'm actually surprised how this could even have worked before.
2023-08-22 14:06:31 +02:00
d74c817fd8 Panic when trying to use RefreshOptions.Then with mode ASYNC
This doesn't work, and since it took me a while of debugging to figure this out,
alert other developers earlier when they try to do it.
2023-08-22 14:06:31 +02:00
93d19db158 Add assertion to show the problem 2023-08-22 14:06:29 +02:00
d7b611aa05 Allow port in webDomain for services config values 2023-08-21 14:33:58 +03:00
fc6008fdff fix GitHub Actions warnings () 2023-08-21 19:27:26 +10:00
a65d3119c0 upgrade golangci/golangci-lint-action to v3.7.0 2023-08-21 18:11:33 +09:00
51ecf4089b upgrade actions/setup-go to v4 and remove actions/cache for go cache 2023-08-21 18:10:52 +09:00
0c0fe8997b upgrade goreleaser/goreleaser-action to v4 2023-08-21 18:09:59 +09:00
f86309dd03 upgrade JamesIves/github-sponsors-readme-action to v1.2.2 2023-08-21 18:09:33 +09:00
c31fcb7134 Switch to editor from commit message panel () 2023-08-21 10:12:26 +02:00
91ec42f3f8 Add integration test 2023-08-21 10:03:34 +02:00
8f628296ad Mention ctrl+o binding in commit message sub title
Only do this when an onSwitchToEditor function is actually provided. For the
"Move patch into new commit" command we don't, because it isn't totally
straightforward in that case.
2023-08-21 10:03:34 +02:00
61bd3e8dd2 Add key binding for switching from the commit message panel to an editor
This is useful for when you begin to type the message in lazygit's commit panel,
and then realize that you'd rather use your editor's more powerful editing
capabilities. Pressing <c-o> will take you right there.
2023-08-21 10:03:34 +02:00
7263630967 Remove obsolete comment 2023-08-21 10:03:34 +02:00
16711c6f1a Added termux installation [README.md] () 2023-08-21 18:02:59 +10:00
b2023f10b6 Fix: Update 'zh' to 'zh-CN' in lazygit Language Configuration () 2023-08-21 17:56:45 +10:00
e915488a83 Add gui.scrollOffBehavior config for scrolling list views by half-pages () 2023-08-21 09:11:03 +02:00
b2d629b50a Add scrollOffEnabled config 2023-08-21 09:03:45 +02:00
125d4fa9dc Pass UserConfig to checkScrollUp/Down instead of just the scrollOffMargin
This will allow us to add a scrollOffEnabled config and have the functions
respect it without changes to clients.
2023-08-21 08:10:28 +02:00
527a1596f3 Add tests for scroll-off margin of zero 2023-08-21 08:10:28 +02:00
51d9f70f9e Fix section levels
These appeared as subsections of "Platform Defaults", which doesn't make sense.
2023-08-21 08:10:28 +02:00
83727d48b5 Feature add git flow instructions () 2023-08-21 15:51:51 +10:00
8efc175340 Add git flow description in readme 2023-08-21 15:50:54 +10:00
6a6cb25d7e Handle trailing slash in worktree path () 2023-08-21 13:26:58 +10:00
fd782ff568 Updated README.md 2023-08-21 01:26:29 +00:00
dbfb469bad Add Makefile () 2023-08-21 11:26:15 +10:00
888a976fc0 Fix the commit graph display after selection jumps in commits view () 2023-08-20 08:51:29 +02:00
2073730186 Fix the commit graph display after selection jumps in commits view
When navigating in the commits view to a line that is out of view (e.g. by
pressing , or . to scroll by page, or < or > to scroll to the top or bottom),
the commit graph was not correctly highlighted. Fix this by rerendering the
viewport in this case.
2023-08-20 08:46:04 +02:00
7a4a0c85c4 Fix test 2023-08-19 19:12:36 +03:00
382ecb6bfe Add unit test 2023-08-19 19:10:35 +03:00
03694f7502 Fix arg order to asserts 2023-08-19 19:10:25 +03:00
ee308a4994 Clean before convertion? 2023-08-19 18:36:57 +03:00
a2b2336173 Stylistic changes 2023-08-19 18:36:57 +03:00
d7b1deb465 Clean path 2023-08-19 18:36:57 +03:00
dd01639f57 Improve error message 2023-08-19 18:36:57 +03:00
525932fbf2 Fix sha colors when rebasing () 2023-08-19 12:38:00 +02:00
b1314349d7 Fix yellow/red coloring while rebasing
It determines the yellow/red status by getting the merge-base between the
current branch and its upstream; while we're rebasing, the current branch is
HEAD, so it tried to get the merge-base between HEAD and HEAD{u}, which doesn't
work. Fix this by passing the name of the checked-out branch separately.
2023-08-19 09:26:27 +02:00
9671f549a1 Fix the blue sha color of todo commits while rebasing
This broke with 5d8a85f7e7.
2023-08-19 09:24:00 +02:00
a1738a77ae Add Makefile 2023-08-19 00:13:03 +09:00
689deb72bd Add emacs-keybinds for word navigation () 2023-08-17 09:41:14 +10:00
84372cfad9 Add emacs-keybinds for word navigation 2023-08-15 12:22:17 +02:00
e429415ed4 Updated README.md 2023-08-15 09:49:34 +00:00