Skip to content

Commit

Permalink
indexer: do not require absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
schu committed Oct 9, 2012
1 parent fa16a6e commit e3f8d58
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/indexer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit e3f8d58

Please sign in to comment.