1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-02 09:21:40 +02:00
Commit Graph

4727 Commits

Author SHA1 Message Date
Jesse Duffield
9e7018db8a Honour editInTerminal value when opening a worktree folder
There was no good reason not to do this in the first place.
2023-08-09 21:00:27 +10:00
Jesse Duffield
cdea5b4873
Fix issue where explosion effect was out-of-view (#2909) 2023-08-08 23:07:46 +10:00
Jesse Duffield
4b0432423d Reset origin when clearing view 2023-08-08 22:01:43 +10:00
Jesse Duffield
2607580a09
Add Click() to GuiDriver (#2898) 2023-08-08 17:05:32 +10:00
Jesse Duffield
ebd56bd8d5
Mention JSON schema (#2893) 2023-08-08 08:19:05 +10:00
Simon Whitaker
ed1547e0cb Add a Click() primitive to the integration test library 2023-08-07 15:10:28 +01:00
README-bot
5e388e21c8 Updated README.md 2023-08-07 14:03:45 +00:00
Jesse Duffield
4c89f9fba5
Fix seg-fault when opening submodule in nested folder (#2903) 2023-08-08 00:03:28 +10:00
Jesse Duffield
8e7958f78b Fix seg-fault when opening submodule in nested folder 2023-08-07 23:57:28 +10:00
Jesse Duffield
579791e7bc
Fix opening lazygit in a bare repo with specified worktree (#2902) 2023-08-07 22:48:14 +10:00
Jesse Duffield
595e28d335 Support bare worktrees where worktree does not have its own .git file
This was on oversight on my part: I assumed that the --work-tree arg was
always intended for use with linked worktrees which have a .git file
pointing back to the repo.

I'm honestly confused now: seems like there are three kinds of worktrees:
* the main worktree of a non-bare repo
* a linked worktree (with its own gitdir in the repo's worktrees/ dir)
* a random folder which you specify as a worktree with the --work-tree arg

I'm pretty sure the --work-tree arg is only intended to be used with this
third kind or workree
2023-08-07 22:40:53 +10:00
Jesse Duffield
0551f29de9 Test bare repos with dotfile setup 2023-08-07 22:21:23 +10:00
微笑
82b5c20050
Add zh-TW to docs/Config.md
Co-authored-by: Bill ZHANG <36790218+Lutra-Fs@users.noreply.github.com>
2023-08-07 19:52:28 +08:00
Jesse Duffield
ecaf1e9002
Use nerdfont version 3 in demos (#2901) 2023-08-07 21:23:42 +10:00
Jesse Duffield
69ff621494 Use nerdfont version 3
Turns out I was on version 2 when recording these. I've switched
to v3 now.
2023-08-07 21:19:10 +10:00
EmilySeville7cfg
f32fe84c9b feat(doc): better JSON schema usage explanation 2023-08-07 18:27:37 +10:00
Stefan Haller
2ded352f3a
Don't run the check-required-label check on master (#2896) 2023-08-07 08:45:48 +02:00
Stefan Haller
c877a8528f Don't run the check-required-label check on master
master doesn't have a label, so CI for master currently always fails.
2023-08-07 08:41:13 +02:00
Stefan Haller
d1754a9490
update worktree icons for NerdFont V3 (#2895) 2023-08-07 08:16:42 +02:00
README-bot
33a96a3dd7 Updated README.md 2023-08-07 06:14:41 +00:00
Stefan Haller
cd889adfa0
Import stefanhaller's tcell fork for real rather than just replacing it (#2888) 2023-08-07 08:14:28 +02:00
Saafo
77447ea6c3 👽️ update worktree icons for NerdFont V3 2023-08-07 05:47:57 +00:00
EmilySeville7cfg
fb05ee369f feat(doc): mention JSON schema 2023-08-07 03:38:30 +10:00
Jothi Prasath
213da4fddd
added termux installation 2023-08-06 20:12:11 +05:30
Harshit Tomar
e78a09ebab
added svelte and mdx 2023-08-06 20:26:07 +10:00
Stefan Haller
7ccb871a45 Bump gocui
... and import stefanhaller's tcell fork for real rather than just replacing it

This solves the problem that people trying to
"go install github.com/jesseduffield/lazygit@latest" would get the error

go: github.com/jesseduffield/lazygit@latest (in github.com/jesseduffield/lazygit@v0.40.0):
  The go.mod file for the module providing named packages contains one or
  more replace directives. It must not contain directives that would cause
  it to be interpreted differently than if it were the main module.
2023-08-06 12:03:23 +02:00
README-bot
9cc18bd7e6 Updated README.md 2023-08-06 06:29:45 +00:00
Stefan Haller
8e2ecd17a9
Fix README.md typo backkground -> background (#2884) 2023-08-06 08:29:32 +02:00
Mattias Johnson
78676dcff6
Fix README.md typo backkground -> background 2023-08-05 20:09:53 +02:00
README-bot
7847203d6e Updated README.md 2023-08-05 06:14:48 +00:00
Jesse Duffield
af3101c7f2
Fix confirmation view sizing (#2879) 2023-08-05 16:14:34 +10:00
Jesse Duffield
ec7e9f9228 Fix confirmation view sizing
The proper fix is to actually have these two functions share code,
or for views to be able to manage their own heights based on their contents.

But I want to get this out for the sake of a Lazygit Anniversary release.
2023-08-05 16:09:02 +10:00
Jesse Duffield
ab5875c78f
Add more demos (#2874) 2023-08-04 09:18:25 +10:00
Jesse Duffield
f6af4c29d4 Add custom patch demo 2023-08-04 09:15:07 +10:00
Jesse Duffield
996ad5bf26 Add worktree demo 2023-08-04 09:14:58 +10:00
Jesse Duffield
096628e366 Add custom command demo 2023-08-04 08:38:15 +10:00
Jesse Duffield
b432fb5efe Add undo/redo demo 2023-08-03 21:02:12 +10:00
Jesse Duffield
c390c9d58e Add filter demo to README 2023-08-03 18:22:30 +10:00
Jesse Duffield
e25403c650
Move features to top of readme (#2867) 2023-08-03 17:25:48 +10:00
Jesse Duffield
5c9a9e777c Move features to top of readme 2023-08-03 17:23:47 +10:00
Jesse Duffield
39d24fdeb7
Add more demos to the README (#2866) 2023-08-03 17:02:40 +10:00
Jesse Duffield
bbb2b32816 Point to new demos 2023-08-03 16:58:11 +10:00
Jesse Duffield
0152639ef0 Add demo for staging lines 2023-08-02 22:32:57 +10:00
Jesse Duffield
c43195efb6 Add demo for amending old commit 2023-08-02 22:32:51 +10:00
Jesse Duffield
17db918cba Add demo for filtering branches 2023-08-02 22:32:51 +10:00
Jesse Duffield
befd7fe63e Support mp4 videos for demos
For all videos but the first video in the readme we want to use mp4 because it's faster, better quality,
smaller, and allows you to play/pause (don't quote me on the smaller part).

HOWEVER: github won't let us reference mp4s stored in our repo from the readme, like it does for gifs
(who knows why). This is annoying because it prevents us from easily re-recording things if the UI
changes. So I've got the logic for recording to mp4 but I'm thinking of sticking to gifs for now
2023-08-02 22:21:25 +10:00
Jesse Duffield
de28391052
Remove file watcher code (#2865) 2023-08-02 22:20:39 +10:00
Jesse Duffield
92f0aa23cc Remove file watcher code
Now that we refresh upon focus, we can scrap this file watching code.
Stefan says few git UIs use file watching, and I understand why: the
reason this code was problematic in the first place is that watching
files is expensive and if you have too many open file handles that
can cause problems.

Importantly: this code that's being removed was _already_ dead.
2023-08-02 21:50:44 +10:00
Jesse Duffield
c8520fbe78
Auto-refresh on window activation (#2854) 2023-08-02 20:42:47 +10:00
Stefan Haller
8ce60662f2 Refresh when the terminal window gets the focus 2023-08-02 11:35:36 +02:00