Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Multiexcerpt
MultiExcerptNamewindows git longpaths

Step 1: Run Registry Modifier

Download and run this script to apply the fix –>  

Reverting

If you need to go back for some reason, run this file:


*  Solution source: https://www.howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/

(Optional) Step 2: Set "Enable Win32 longs paths" to Enabled

As of 8/22/2023 with Windows 11, this step is supposedly not necessary.

Hit Windows key. Type "Edit Group Policy", hit Enter.

Under Computer Configuration > Administrative Templates > System > Filesystem

Right click Enable Win32 long paths, Edit, set to Enabled.

Step 3: Set Git configuration core.longpaths = true 

Set core.longpaths to true.

...

Code Block
Error:The Git process exited with the code -1,073,741,819 during executing
git "C:\Program Files\Git\bin\git.exe" -c core.quotepath=false -c log.showSignature=false
checkout HEAD --
ihmc-common-walking-control-modules/src/main/java/us/ihmc/commonWalkingControlModules/instantaneousCapturePoint/icpOptimization/recursiveController/multipliers/stateMatrices/transfer/TransferInitialICPVelocityMatrix.java
ihmc-common-walking-control-modules/src/test/java/us/ihmc/commonWalkingControlModules/instantaneousCapturePoint/icpOptimization/recursiveController/multipliers/stateMatrices/transfer/TransferInitialICPVelocityMatrixTest.java

ihmc-common-walking-control-modules/src/main/java/us/ihmc/commonWalkingControlModules/instantaneousCapturePoint/icpOptimization/recursiveController/multipliers/stateMatrices/transfer/TransferInitialICPVelocityMatrix.java: Filename too long
ihmc-common-walking-control-modules/src/test/java/us/ihmc/commonWalkingControlModules/instantaneousCapturePoint/icpOptimization/recursiveController/multipliers/stateMatrices/transfer/TransferInitialICPVelocityMatrixTest.java: Filename too long


Other setting that is probably no longer relevant:

Set "Enable Win32 longs paths" to Enabled

Hit Windows key. Type "Edit Group Policy", hit Enter.

Under Computer Configuration > Administrative Templates > System > Filesystem

Right click Enable Win32 long paths, Edit, set to Enabled.

Image Added