indexer: do not require absolute path

This commit is contained in:
Michael Schubert 2012-08-14 23:07:54 +02:00
parent fa16a6ecc4
commit e3f8d58d12

View File

@ -599,11 +599,6 @@ int git_indexer_new(git_indexer **out, const char *packname)
assert(out && packname);
if (git_path_root(packname) < 0) {
giterr_set(GITERR_INDEXER, "Path is not absolute");
return -1;
}
idx = git__calloc(1, sizeof(git_indexer));
GITERR_CHECK_ALLOC(idx);