mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix: keep package hashes indifferent to line endings when ya pkg pulls packages
This commit is contained in:
parent
84a5be0b6a
commit
86b8af1495
2 changed files with 10 additions and 2 deletions
|
|
@ -30,6 +30,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/):
|
|||
|
||||
- Deprecate `backward --far` and `forward --far` in favor of `backward wide` and `forward wide`, respectively ([#4012])
|
||||
|
||||
### Fixed
|
||||
|
||||
- Keep package hashes indifferent to line endings when `ya pkg` pulls packages
|
||||
|
||||
### Improved
|
||||
|
||||
- Eliminate hacks in image and UI conflict resolution ([#4022])
|
||||
|
|
|
|||
|
|
@ -45,11 +45,15 @@ impl Git {
|
|||
async fn exec(f: impl FnOnce(&mut Command) -> &mut Command) -> Result<()> {
|
||||
let status = f(Command::new("git").args([
|
||||
"-c",
|
||||
"advice.detachedHead=false",
|
||||
"core.eol=lf",
|
||||
"-c",
|
||||
"core.autocrlf=false",
|
||||
"-c",
|
||||
"clone.defaultRemoteName=origin",
|
||||
"-c",
|
||||
"checkout.defaultRemote=origin",
|
||||
"-c",
|
||||
"clone.defaultRemoteName=origin",
|
||||
"advice.detachedHead=false",
|
||||
]))
|
||||
.status()
|
||||
.await
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue