Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master add clone command tests #65

Merged
merged 3 commits into from
Jan 12, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
If CloneCommand base object has repository, close it at end of execute()
  • Loading branch information
MarkEWaite committed Jan 11, 2014
commit a954438d2bfaf2d7781e123a4d6e1aa6f3c95d1b
Original file line number Diff line number Diff line change
Expand Up @@ -862,6 +862,8 @@ public void execute() throws GitException, InterruptedException {
throw new GitException(e);
} catch (IOException e) {
throw new GitException(e);
} finally {
if (base.getRepository() != null) base.getRepository().close();
}
}
};
Expand Down