]> source.dussan.org Git - jgit.git/commit
Reject mixed case .git on Mac OS in ObjectChecker 77/23277/2
authorShawn Pearce <spearce@spearce.org>
Wed, 12 Mar 2014 19:38:13 +0000 (12:38 -0700)
committerShawn Pearce <spearce@spearce.org>
Wed, 12 Mar 2014 23:06:08 +0000 (16:06 -0700)
commited3879e38964c8d41068c1171161bad2be0d3500
tree58ad7ff29ba2d4917ba4fd5032853cdcdadeb3a6
parentba0f89b4211fd57fe52120ec9a7c3cbaadbadd3b
Reject mixed case .git on Mac OS in ObjectChecker

Most Mac OS X systems use a case insensitive HFS+ volume. Like
Windows ".git" and ".GIT" are the same path and can confuse a Git
program into expecting a repository where one does not exist.

Change-Id: Iec6ce9e6c2872f8b0850cc6aec023fa0fcb05ae4
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/ObjectCheckerTest.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/ObjectChecker.java