mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-25 02:11:11 +08:00
Fixes #738 by changing the git config autocrlf test to check for what we do not want to see "false". Instead of trying to convert the output of git config autocrlf to binary, which will not always work as "input" is also a valid value in addition to true and false, we check for the value false and exit if it is found.
This commit is contained in:
parent
2ce0d8ae1d
commit
5b9c4b4b68
|
@ -43,7 +43,7 @@ fish install --path=~/.local/share/omf --config=~/.config/omf
|
|||
You can verify the integrity of the downloaded installer by verifying the script against [this checksum](bin/install.sha256):
|
||||
|
||||
```
|
||||
bbace7ef16956d87fd40bff91cd1992a90621e7931ac3055f16b7f6d679e8fff install
|
||||
bb1f4025934600ea6feef2ec11660e17e2b6449c5a23c033860aed712ad328c9 install
|
||||
```
|
||||
|
||||
You can also install Oh My Fish with Git or with an offline source tarball downloaded from the [releases page][releases]:
|
||||
|
|
|
@ -481,7 +481,7 @@ function sane_environment_check
|
|||
end
|
||||
|
||||
debug "Verifying Git autocrlf is not enabled"
|
||||
if test (cmd git config --bool core.autocrlf; or echo false) = true
|
||||
if test (cmd git config core.autocrlf; or echo false) = true
|
||||
abort "Please disable core.autocrlf in your Git configuration."
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1 +1 @@
|
|||
bbace7ef16956d87fd40bff91cd1992a90621e7931ac3055f16b7f6d679e8fff install
|
||||
bb1f4025934600ea6feef2ec11660e17e2b6449c5a23c033860aed712ad328c9 install
|
||||
|
|
Loading…
Reference in New Issue
Block a user