-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix two problems with running `go generate ./...` on Windows: - the command would error out with `panic: Default config starting comment not found` (depending on the setup of the local git client) - after running the command, all files would show up as modified in git, but without a diff. Staging the files would make them disappear again, except for those that actually had changes. Fix both of these by configuring git to check out the generated text files with Unix line endings.
- Loading branch information
Showing
4 changed files
with
16 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*.go text | ||
*.md text eol=lf | ||
*.json text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ lazygit.exe | |
|
||
# Exceptions | ||
!.gitignore | ||
!.gitattributes | ||
!.goreleaser.yml | ||
!.golangci.yml | ||
!.circleci/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# Documentation Overview | ||
|
||
* [Configuration](./Config.md). | ||
* [Custom Commands](./Custom_Command_Keybindings.md) | ||
* [Custom Pagers](./Custom_Pagers.md) | ||
* [Dev docs](./dev) | ||
* [Keybindings](./keybindings) | ||
* [Undo/Redo](./Undoing.md) | ||
* [Range Select](./Range_Select.md) | ||
* [Searching/Filtering](./Searching.md) | ||
* [Stacked Branches](./Stacked_Branches.md) | ||
# Documentation Overview | ||
|
||
* [Configuration](./Config.md). | ||
* [Custom Commands](./Custom_Command_Keybindings.md) | ||
* [Custom Pagers](./Custom_Pagers.md) | ||
* [Dev docs](./dev) | ||
* [Keybindings](./keybindings) | ||
* [Undo/Redo](./Undoing.md) | ||
* [Range Select](./Range_Select.md) | ||
* [Searching/Filtering](./Searching.md) | ||
* [Stacked Branches](./Stacked_Branches.md) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.