You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/bug_report.md
+11-9Lines changed: 11 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,31 +6,33 @@ labels: bug
6
6
assignees: ''
7
7
---
8
8
9
-
**Describe the bug**
9
+
### Describe the bug
10
10
A clear and concise description of what the bug is.
11
11
12
-
**To Reproduce**
12
+
### To Reproduce
13
13
Steps to reproduce the behavior:
14
14
15
15
1. Go to '...'
16
16
2. Click on '....'
17
17
3. Scroll down to '....'
18
18
4. See error
19
19
20
-
**Expected behavior**
20
+
### Expected behavior
21
21
A clear and concise description of what you expected to happen.
22
22
23
-
**Screenshots**
23
+
### Screenshots
24
24
If applicable, add screenshots to help explain your problem.
25
25
26
-
**Version info:**
27
-
_Run `lazygit --version` and paste the result here_
28
-
_Run `git --version` and paste the result here_
26
+
### Version info:
29
27
30
-
**Additional context**
28
+
*_Run `lazygit --version` and paste the result here_
29
+
*_Run `git --version` and paste the result here_
30
+
31
+
### Additional context
31
32
Add any other context about the problem here.
32
33
33
-
**Note:** please try updating to the latest version or [manually building](https://github.com/jesseduffield/lazygit/#manual) the latest `master` to see if the issue still occurs.
34
+
> [!NOTE]
35
+
> Please try updating to the latest version or [manually building](https://github.com/jesseduffield/lazygit/#manual) the latest `master` to see if the issue still occurs.
34
36
35
37
<!--
36
38
If you want to try and debug this issue yourself, you can run `lazygit --debug` in one terminal panel and `lazygit --logs` in another to view the logs.
Copy file name to clipboardExpand all lines: docs/Config.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -303,12 +303,12 @@ git:
303
303
# ydiff -p cat -s --wrap --width={{columnWidth}}
304
304
pager: ""
305
305
306
-
# If true, Lazygit will use whatever pager is specified in `$GIT_PAGER`, `$PAGER`, or your *git config*. If the pager ends with something like ` | less` we will strip that part out, because less doesn't play nice with our rendering approach. If the custom pager uses less under the hood, that will also break rendering (hence the `--paging=never` flag for the `delta` pager).
307
-
useConfig: false
308
-
309
306
# e.g. 'difft --color=always'
310
307
externalDiffCommand: ""
311
308
309
+
# If true, Lazygit will use git's `diff.external` config for paging. The advantage over `externalDiffCommand` is that this can be configured per file type in .gitattributes; see https://git-scm.com/docs/gitattributes#_defining_an_external_diff_driver.
Copy file name to clipboardExpand all lines: docs/Custom_Pagers.md
+11-13Lines changed: 11 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,6 @@ Support does not extend to Windows users, because we're making use of a package
10
10
git:
11
11
paging:
12
12
colorArg: always
13
-
useConfig: false
14
13
```
15
14
16
15
the `colorArg` key is for whether you want the `--color=always` arg in your `git diff` command. Some pagers want it set to `always`, others want it set to `never`.
@@ -54,17 +53,6 @@ git:
54
53
55
54
Be careful with this one, I think the homebrew and pip versions are behind master. I needed to directly download the ydiff script to get the no-pager functionality working.
56
55
57
-
## Using git config
58
-
59
-
```yaml
60
-
git:
61
-
paging:
62
-
colorArg: always
63
-
useConfig: true
64
-
```
65
-
66
-
If you set `useConfig: true`, lazygit will use whatever pager is specified in `$GIT_PAGER`, `$PAGER`, or your *git config*. If the pager ends with something like ` | less` we will strip that part out, because less doesn't play nice with our rendering approach. If the custom pager uses less under the hood, that will also break rendering (hence the `--paging=never` flag for the `delta` pager).
67
-
68
56
## Using external diff commands
69
57
70
58
Some diff tools can't work as a simple pager like the ones above do, because they need access to the entire diff, so just post-processing git's diff is not enough for them. The most notable example is probably [difftastic](https://difftastic.wilfred.me.uk).
@@ -77,7 +65,7 @@ git:
77
65
externalDiffCommand: difft --color=always
78
66
```
79
67
80
-
The `colorArg`, `pager`, and `useConfig` options are not used in this case.
68
+
The `colorArg`and `pager` options are not used in this case.
81
69
82
70
You can add whatever extra arguments you prefer for your difftool; for instance
Instead of setting this command in lazygit's `externalDiffCommand` config, you can also tell lazygit to use the external diff command that is configured in git itself (`diff.external`), by using
79
+
80
+
```yaml
81
+
git:
82
+
paging:
83
+
useExternalDiffGitConfig: true
84
+
```
85
+
86
+
This can be useful if you also want to use it for diffs on the command line, and it also has the advantage that you can configure it per file type in `.gitattributes`; see https://git-scm.com/docs/gitattributes#_defining_an_external_diff_driver.
0 commit comments