File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
opengrok-indexer/src/main/java/org/opengrok/indexer/history Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -239,11 +239,12 @@ public boolean isWorking() {
239
239
240
240
@ Override
241
241
boolean isRepositoryFor (File file , boolean interactive ) {
242
- // if the parent contains a file named "view.dat" or
242
+ // if the parent contains a file named "[.] view.dat" or
243
243
// the parent is named "vobs" or the canonical path
244
244
// is found in "cleartool lsvob -s"
245
- File f = new File (file , "view.dat" );
246
- if (f .exists ()) {
245
+ File fWindows = new File (file , "view.dat" );
246
+ File fUnix = new File (file , ".view.dat" );
247
+ if (fWindows .exists () || fUnix .exists ()) {
247
248
return true ;
248
249
} else if (file .isDirectory () && file .getName ().equalsIgnoreCase ("vobs" )) {
249
250
return true ;
You can’t perform that action at this time.
0 commit comments