X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=builtin-update-index.c;h=1fde893cfa9f6318ae1e9958b2f61159b01c7c6a;hb=c511549e0c6848f00bd19f152b8ab42261ff5d0c;hp=dd43d5bef425af318a884bfc235a4aff40931633;hpb=c0250b6477d2edf58d0a7bc229bfa4f720c1cd58;p=git.git diff --git a/builtin-update-index.c b/builtin-update-index.c index dd43d5bef..1fde893cf 100644 --- a/builtin-update-index.c +++ b/builtin-update-index.c @@ -195,7 +195,7 @@ static int process_path(const char *path) struct stat st; len = strlen(path); - if (has_symlink_leading_path(len, path)) + if (has_symlink_leading_path(path, len)) return error("'%s' is beyond a symbolic link", path); /*