Skip to content

Changes

Summary

  1. Checkout should not use too long filenames (details)
Commit 501af12c19a4f7dfa0b22e46cdf19cc306370565 by Matthias Sohn
Checkout should not use too long filenames

DirCacheCheckout is generating names for temporary files. It was not checking
the length of this filenames. It may happen that a generated filename is
longer than 255 chars which causes problems on certain platforms. Make sure
that filenames for temporary files do not exceed 255 chars.

Bug: 508823
Change-Id: I9475c04351ce3faebdc6ad40ea4faa3c326815f4
The file was modified org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/DirCacheCheckoutTest.java
The file was modified org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCacheCheckout.java