ソースを参照

Merge "BaseRepositoryBuilder should trim CR from .git symref"

tags/v4.2.0.201601211800-r
Shawn Pearce 8年前
コミット
9eda23e469

+ 2
- 1
org.eclipse.jgit/src/org/eclipse/jgit/lib/BaseRepositoryBuilder.java ファイルの表示



int pathStart = 8; int pathStart = 8;
int lineEnd = RawParseUtils.nextLF(content, pathStart); int lineEnd = RawParseUtils.nextLF(content, pathStart);
if (content[lineEnd - 1] == '\n')
while (content[lineEnd - 1] == '\n' ||
(content[lineEnd - 1] == '\r' && SystemReader.getInstance().isWindows()))
lineEnd--; lineEnd--;
if (lineEnd == pathStart) if (lineEnd == pathStart)
throw new IOException(MessageFormat.format( throw new IOException(MessageFormat.format(

読み込み中…
キャンセル
保存