Robin Rosenberg wrote: > + if [ -d "$g/../.dotest" ] > + then > + ... > + else > + if [ -d "$g/.dotest-merge" ] > + then > + ... > + else > + if [ -f "$g/MERGE_HEAD" ] > + then > + ... > + else > + ... > + fi > + fi > + fi You can use 'elif' to avoid the increasing indentation. -- 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