Skip to content

Commit 539b5af

Browse files
ahornaceVladimir Kotal
authored andcommitted
Fix "on the fly" xref generation for empty revisions
fixes #3620
1 parent 9c54660 commit 539b5af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opengrok-web/src/main/webapp/xref.jspf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ org.opengrok.indexer.web.QueryParameters"
5656
InputStream in = null;
5757
File tempf = null;
5858
try {
59-
if (rev.equals(DUMMY_REVISION)) {
59+
if (rev.isBlank() || rev.equals(DUMMY_REVISION)) {
6060
in = new BufferedInputStream(new FileInputStream(resourceFile));
6161
} else {
6262
tempf = File.createTempFile("ogtags", basename);

0 commit comments

Comments
 (0)