Andy Parkins wrote: > switch (git_path_check_crlf(path)) { > case 0: > - return 0; > + changes += 0; > case 1: > - return forcecrlf_to_git(path, bufp, sizep); > + changes += forcecrlf_to_git(path, bufp, sizep); > default: > - return autocrlf_to_git(path, bufp, sizep); > + changes += autocrlf_to_git(path, bufp, sizep); > + } > + > + switch (git_path_check_keyword(path)) { > + case 0: > + changes += 0; > + case 1: > + changes += keyword_unexpand_git(path, bufp, sizep); > } I think there are 'break's missing all along the way. -- Hannes - 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