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

2995 Commits

Author SHA1 Message Date
55b393c929 always fast forward 2022-03-17 19:13:40 +11:00
f0c81ea6dc remove redundant popup checks 2022-03-17 19:13:40 +11:00
f97de692e3 move helpers into their own struct 2022-03-17 19:13:40 +11:00
2692637fbe standardise naming 2022-03-17 19:13:40 +11:00
77d0732fa8 add actions abstraction 2022-03-17 19:13:40 +11:00
51547e3822 move all refresh code into the one file 2022-03-17 19:13:40 +11:00
e363606fb6 move context keys into context package 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
cb0d3a480a use type switch instead of type key 2022-03-17 19:13:40 +11:00
a2318d75b5 fix some things 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
fa8571e1f4 rename field 2022-03-17 19:01:28 +11:00
d8d0d4686d Only read env once when recording dirs 2022-03-17 19:01:28 +11:00
b8fc829f86 Record current directory on switch 2022-03-17 19:01:28 +11:00
950bb5090d Update README.md 2022-03-17 18:08:26 +11:00
7be25a105d allow skipping confirmation prompt after opening subprocess v0.34 2022-03-17 17:52:31 +11:00
28c9d85141 fix tests 2022-03-16 20:52:49 +11:00
f0d0d45ba7 refactor: 💡 Use new approach introduced via #1637
fix: 🐛 The root URI for Azure DevOps repositories contains _git

refactor so that we don't have conditional logic based on service definition

no need for this commend anymore

add comment

Fixed RegEx for HTTP remote git URL

Added Tests

pretty sure we can do this safely
2022-03-16 20:52:49 +11:00
08ee3309cb docs: Let 'Tag' badge in README.md link to Github 'Releases' page
Clicking the badge that shows the current tag (i.e. release) will now direct you
to the 'Releases' page.
2022-03-16 20:44:49 +11:00
7544d853fc docs: Remove 'GolangCI' badge from README.md
The service has apparently closed down some time ago.

See: https://medium.com/golangci/golangci-com-is-closing-d1fc1bd30e0e
2022-03-16 20:44:49 +11:00
ca8180e1b7 Use editFileAtLine method for line by line panel 2022-03-16 20:43:53 +11:00
f53b10072d open code in existing window 2022-03-16 19:55:58 +11:00
11acac0091 more explicit 2022-03-16 19:55:58 +11:00
866f4b9f0e Support line offset for most common editors by default 2022-03-16 19:55:58 +11:00
f56988039a ignore current user language when generating cheatsheets 2022-03-16 19:46:11 +11:00
7e6b43d13b Just spotted some small typos in NL translation
I'm learning the LazyGit keybindings right now
2022-03-16 19:46:11 +11:00
f5a5b7f966 Add unstagedChangesColor config option 2022-03-16 19:21:39 +11:00
91dab7fef9 docs: Update 'VS Code launch configuration' in contribution guide
To simplify debugging via VS Code, add '--debug' argument to example launch
configuration. Also, reword the hint regarding the 'console' key slightly. It
has apparently been available for a long time in stable releases and is also
listed in the documentation. It is however, still marked as an experimental
feature, even in the current release v1.65.2.

See: https://code.visualstudio.com/updates/v1_5#_launch-debug-target-in-integrated-terminal
See: https://code.visualstudio.com/Docs/editor/debugging#_launchjson-attributes
2022-03-15 19:42:52 +11:00
75e654634f docs: Update link to GoDoc in README.md to use HTTPS instead of HTTP 2022-03-15 19:42:23 +11:00
c9f1a40ffa docs: Minor formatting fixes for README.md
Running 'mdformat' on README.md adds and removes a few line breaks to improve
readability. Also, '$' doesn't need to be escaped.
2022-03-15 19:42:23 +11:00
eb182abf48 docs: Fix typos in README.md 2022-03-15 19:42:23 +11:00
2c7c99522b chore: go mod vendor 2022-03-15 13:31:11 +11:00
a9fa3b2af1 chore: go get github.com/gdamore/tcell/v2@2a1a1b58 2022-03-15 13:31:11 +11:00
f4011643dd whoops v0.33 2022-02-05 19:14:08 +11:00
f8b8307a29 Merge pull request #1757 from bnoctis/i18n/polish-intro
Fix & polish Chinese intro message
2022-02-03 10:21:29 +01:00
471fe313d8 fix & polish Chinese intro message
- Fix first sentence of 3), #1756
- Use 你 instead of 您 to pose a closer feel, as fellow programmers
- Polish a little so it feels more natural
2022-02-02 18:59:15 +08:00
9adf4a1908 Add shared function for loading map of custom colors 2022-02-01 18:55:45 +11:00
4df7646654 Add configurable colors for branch prefixes
Branches can now be colored based on their prefix, if it matches
a user defined prefix in the config file. If no user defined
prefix matches, then it will fallback to the defaults: green for
'feature', yellow for 'bugfix', and red for 'hotfix'. All
remaining branches will be set to the default text color.
2022-02-01 18:55:45 +11:00
c7c4a375a9 Merge pull request #1750 from mark2185/fix-issue-template
'git-rev parse' should be 'git rev-parse'
2022-01-31 19:24:20 +01:00
a2fd3541d5 'git-rev parse' should be 'git rev-parse' 2022-01-31 18:07:35 +01:00
15ca38ba2e Update README.md
Use `go install` instead of `go get` to install as `$GOPATH/bin/lazygit`, since using `go get` to install binary is deprecated
2022-01-31 08:59:55 +11:00
e0ae134ee4 generate snapshot for expected dir in separate tmp dir 2022-01-29 00:17:32 +11:00
1d90e1b565 add submodule integration tests 2022-01-29 00:17:32 +11:00
1b09674ce8 simplify submodule remove 2022-01-29 00:17:32 +11:00
d13a648132 ensure stash panel refreshes 2022-01-28 20:07:30 +11:00
bed185eb28 stop retrying due to index lock for now 2022-01-27 21:25:04 +11:00
84a1992055 better locking of merge panel state 2022-01-27 21:25:04 +11:00
7f85bf5563 Update CONTRIBUTING.md 2022-01-27 19:32:30 +11:00