mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-03 02:40:09 +00:00
indexer: do not require absolute path
This commit is contained in:
parent
fa16a6ecc4
commit
e3f8d58d12
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user