mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-26 19:12:12 -04:00
On Windows, os.devNull is '\\.\nul', which git cannot open as a config file path (fatal: unable to access '\\.\nul': Invalid argument). Git for Windows translates the literal '/dev/null' correctly via its MSYS2 layer, fixing patch-commit on Windows.