mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[git] do not trim trailing spaces from file names
IDEA-193814, IDEA-199761
This commit is contained in:
@@ -402,7 +402,7 @@ public class GitLogParser {
|
||||
}
|
||||
|
||||
private boolean atLineEnd(@NotNull CharSequence line, int offset) {
|
||||
while (offset < line.length() && (line.charAt(offset) == '\t' || line.charAt(offset) == ' ')) offset++;
|
||||
while (offset < line.length() && (line.charAt(offset) == '\t')) offset++;
|
||||
if (offset == line.length() || (line.charAt(offset) == '\n' || line.charAt(offset) == '\r')) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user