fix(patching): fall back to copy when hard linking fails in patch-commit (#15395)
In environments where hard linking fails (such as cross-device boundaries or filesystems without hard link support), fall back to copying package files when preparing the diff view. Closes pnpm/pnpm#7295
This commit is contained in:
1 parent
aaa12cc785
commit
8fad8a309d
5 files changed
+394
-41
No files matched your search
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"@pnpm/patching.commands": patch
|
||||
"pnpm": patch
|
||||
"pacquet": patch
|
||||
---
|
||||
|
||||
`pnpm patch-commit` now falls back to copying package files when hard linking fails.
|
||||
Reference in new issue
Block a user