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

76 Commits

Author SHA1 Message Date
b07109de4d Remove unused field gui.IsNewRepo 2024-12-01 10:44:26 +01:00
7a670964cd Optimize number of early calls to GetRepoPaths
This change reduces the number of calls during application startup to
one, calling GetRepoPaths() earlier than previously and plumbing the
repoPaths struct around to achieve this end.
2024-07-06 12:09:48 -07:00
b16bb409fc Use forward-slashes on windows
We want to be using forward slashes everywhere internally, so if we get a path from windows
we should immediately convert it to use forward slashes.

I'm leaving out the recent repos list because that would require a migration
2023-07-30 18:35:24 +10:00
8edad826ca Begin refactoring gui
This begins a big refactor of moving more code out of the Gui struct into contexts, controllers, and helpers. We also move some code into structs in the
gui package purely for the sake of better encapsulation
2023-04-30 13:19:52 +10:00
e6274af015 appease golangci-lint (#2512) 2023-03-19 11:20:29 +11:00
b8900baf1a remove deprecated calls 2022-09-17 15:10:41 -07:00
21a4522a51 Merge branch 'master' into feat/detect-bare-repo 2022-08-15 14:00:34 +01:00
154bd975a6 Apply refactoring suggestions 2022-08-15 13:59:34 +01:00
ba96baee32 move code from main into app package to allow test to be injected 2022-08-13 13:55:08 +10:00
d73a236d7c allow rendering to main panels from anywhere 2022-08-07 12:05:51 +10:00
524bf83a4a refactor to only have one context per view 2022-08-06 13:49:11 +10:00
3ee2ad511e prevent crash when opening recent repos panel if no recent repos are present 2022-08-01 22:10:08 +10:00
44de380c2b Add i18n for unknown branch 2022-07-31 08:57:57 +02:00
37bdbd9a21 Display short SHA when in detached HEAD state 2022-07-31 08:51:27 +02:00
767ef31661 Use filepath.Join instead of manual concat 2022-07-31 08:43:31 +02:00
966733240c Refactor a bit, enable worktrees 2022-07-30 19:02:19 +02:00
25ddac0d8f Gotta go fast 2022-07-30 17:42:15 +02:00
7c09ce3871 Parallelize fetching current branch 2022-07-30 17:05:17 +02:00
e6e4513f45 Show active branch for recent repo
Split recent repo menu into three columns
2022-07-30 17:05:17 +02:00
9c6239df3d Worktrees should not be filtered out
But non-git directories should
2022-07-30 17:03:30 +02:00
32c0b39dbd Merge pull request #1950 from HiromasaNojima/add_subcommand_into_specific_layout_directly 2022-06-11 11:51:14 +10:00
b1e4968d0b allow opening lazygit to a specific panel 2022-06-11 11:23:56 +10:00
a955dbcfd7 Validate recent repo before blindly opening it 2022-06-11 09:42:51 +10:00
5275161a88 chore(i18n): localize panel titles 2022-05-18 20:55:42 +09:00
6f8063217d rename displayString to label for menu items 2022-05-08 14:26:18 +10:00
1b75ed3740 many more generics 2022-03-24 20:14:41 +11:00
cd31a762b9 rename OSCommand field to os 2022-03-17 19:13:40 +11:00
2a1e3faa0c resetting controllers on new repo 2022-03-17 19:13:40 +11:00
138be04e65 refactor contexts code 2022-03-17 19:13:40 +11:00
1a74ed3214 avoid deadlock 2022-03-17 19:13:40 +11:00
1dd7307fde start moving commit panel handlers into controller
more

and more

move rebase commit refreshing into existing abstraction

and more

and more

WIP

and more

handling clicks

properly fix merge conflicts

update cheatsheet

lots more preparation to start moving things into controllers

WIP

better typing

expand on remotes controller

moving more code into controllers
2022-03-17 19:13:40 +11:00
a90b6efded start refactoring gui 2022-03-17 19:13:40 +11:00
b8fc829f86 Record current directory on switch 2022-03-17 19:01:28 +11:00
cdcfeb396f stop refreshing the screen so much 2022-01-15 14:15:41 +11:00
364c5db19c shorten name 2022-01-09 14:09:53 +11:00
3621854dc7 fix tests 2022-01-09 14:09:53 +11:00
f503ff1ecb start breaking up git struct 2022-01-09 14:09:53 +11:00
43a4fa970d WIP 2022-01-04 09:07:15 +11:00
192a548c99 refactoring the config struct 2022-01-04 09:07:15 +11:00
01ea5813a8 align Gui struct with GitCommand 2022-01-04 09:07:15 +11:00
18ab086126 introduce Common struct for passing around common stuff 2022-01-04 09:07:15 +11:00
b4c078d565 WIP 2022-01-04 09:07:15 +11:00
b6a5e9d615 use cached git config 2021-10-23 10:26:47 +11:00
d02e52989e small changes 2021-10-16 12:22:34 +11:00
913a2fd065 Allow having multiple config files 2021-10-16 12:22:34 +11:00
79848087bc Switch to github.com/gookit/color for terminal colors 2021-07-30 15:14:46 +02:00
7178bab6b4 only re-use repo state when jumping in and out of submodules 2021-04-06 19:34:32 +10:00
4fe512ff3a test
type safe view access
2021-04-06 19:34:32 +10:00
633b6f596d WIP 2021-04-06 19:34:32 +10:00
f1d7f59e49 switching repos without restarting the gui 2021-04-06 19:34:32 +10:00