Add toString to Git with repository path

Useful for debugging.

Change-Id: I78b92ccbcc099370fc99a1d2fa2cf60d5f5892e6
Signed-off-by: Robin Stocker <robin@nibor.org>
This commit is contained in:
Robin Stocker 2014-08-17 17:48:05 +10:00
parent 9bb891e44d
commit 4bdd0037aa
1 changed files with 4 additions and 0 deletions

View File

@ -701,4 +701,8 @@ public Repository getRepository() {
return repo;
}
@Override
public String toString() {
return "Git[" + repo + "]"; //$NON-NLS-1$//$NON-NLS-2$
}
}