Actually, since !S_ISLNK(010644), it uses ce_permissions(010644), which
basically only checks if (010644 & 0100) is set (i.e. if it is executable
by the user), and depending on this returns 0755 or 0644.
That's why it works.
Ciao,
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