On Mon, Jul 16, 2007 at 07:38:41PM +0200, Thomas Glanzmann wrote: > const char *slash = path; > + struct stat st; > memcpy(buf, path, len); > buf[len] = 0; > + if (!stat(buf, &st) && S_ISDIR(st.st_mode)) > + continue; /* ok */ You've got some whitespace damage here. Git's style is to use tabs. -bcd - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html