X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-update-index.c;h=1fde893cfa9f6318ae1e9958b2f61159b01c7c6a;hb=ec2956df592338ccd789428e9232fe6b709dc2be;hp=dd43d5bef425af318a884bfc235a4aff40931633;hpb=0c3473561610ac9f94c65f64178d2a66ee73eb64;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); /*