* Adds a path to the repository. If the path is a directory,
* adds the contents recursively.
*/
public String addArchive(InputStream is)
{
GitCommitJar commit = null;
try {
commit = new GitCommitJar(is);
return addArchive(commit);
} catch (IOException e) {
throw new RepositoryException(e);
} finally {
if (commit != null)
commit.close();
}
}