List Info

Thread: Problem with git-push




Problem with git-push
user name
2006-11-02 09:42:46
Hi,

On Wed, 1 Nov 2006, Junio C Hamano wrote:

> -	if (chmod(path, mode) < 0)
> +	if (mode != st.st_mode && chmod(path, mode)
< 0)

Oops. Somehow I missed this mail before replying. I'd like
to point out 
that it's safer to check for (mode & st.st_mode !=
mode), since we should 
leave broader permissions as are.

Ciao,
Dscho

-
To unsubscribe from this list: send the line
"unsubscribe git" in
the body of a message to majordomovger.kernel.org
More majordomo info at  http://vge
r.kernel.org/majordomo-info.html
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )