Skip to content

JGitUtils.openRepo should return a Git object which closes the wrapped repository #1274

@kwin

Description

@kwin

Affected version

2.1.0

Bug description

Currently

uses a Git constructor with an explicitly passed repository. That is by default not closed with the wrapper object (but in fact should be). Otherwise the returned Git object cannot be used with try with resource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions