LocalDiskRepositoryTestCase: Add clarifying comment in call to createRepository

Clarify that 'true' means 'auto close'. This makes it consistent with
other calls that have a boolean argument for 'bare'. It also makes it a
bit easier to see what's going on while stepping in the debugger, because
it's not necessary to scroll around to find the method declaration.

Change-Id: Idacd749407dcfd258af3efaaf44d129069925dd3
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
This commit is contained in:
David Pursehouse 2017-02-10 19:51:52 +09:00
parent 158d3722d3
commit a9a3ce92aa
1 changed files with 1 additions and 1 deletions

View File

@ -361,7 +361,7 @@ protected FileRepository createWorkRepository() throws IOException {
*/
private FileRepository createRepository(boolean bare)
throws IOException {
return createRepository(bare, true);
return createRepository(bare, true /* auto close */);
}
/**