]> source.dussan.org Git - jgit.git/commit
Allow '@' as last character of ref 42/121042/1
authorChristian Halstrick <christian.halstrick@sap.com>
Thu, 12 Apr 2018 06:39:29 +0000 (08:39 +0200)
committerChristian Halstrick <christian.halstrick@sap.com>
Thu, 12 Apr 2018 07:37:42 +0000 (09:37 +0200)
commit45599ae86d33d2a681acb8723e01c9b42e4fd335
tree0f45e2a1b2177f0de22d17f49f3967177b935c1c
parentaaf4b355574f1d34c767b3de8c1686f08e849cb3
Allow '@' as last character of ref

Previously @ was allowed e.g. in branch names, but not as the last
character. The case that @ is the last character was not handled.

Change-Id: Ic33870b22236f7a5ec7b54007f1b0cefd9354bfb
org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/RepositoryResolveTest.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java