Wow, that looks easier than I thought...
Why say "GITDIR:"? Do you want to be able to set other things there, too,
like GITWORKDIR?
Why make it complicated? You could just test for st.st_size >=
sizeof(buf).
Should this not rather use read_in_full()?
Should this not make the git directory absolute, just in case?
Thanks,
Dscho
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html