@@ -101,7 +101,8 @@ char
return NULL;
}
if (strncmp(fstr, "gitdir: ", strlen("gitdir: ")) == 0) {
return realpath(strndup(fstr + strlen("gitdir: "), strlen(fstr + strlen("gitdir: ")) - 1), NULL);
fstr[strlen(fstr) - 1] = '\0';
return realpath(fstr + strlen("gitdir: "), NULL);
The note is not visible to the blocked user.