Browse Source
The FS class and the subclasses FS_POSIX assumed in the findHook() method that every repository has a valid gitDir. But in tests when using in-memory-repositories this is not true and this method was generating NPEs. Change the method to return null if no repository directory can be determined. Change-Id: I38a4d36dc6452b5dacae3d0dbf562b569ca3c19bstable-4.1
Christian Halstrick
10 years ago
2 changed files with 7 additions and 1 deletions
Loading…
Reference in new issue