Nazri Ramliy <ayiehere@xxxxxxxxx> writes: > +test -z "$EXPECT_HEADER" || > + ( > + grep '^pick' < "$1" | cut -d' ' -f3- > commit_headers.$$ && Sending output from grep to cut does not sound very cool; wouldn't a single "sed" invocation more appropriate? > + diff "$EXPECT_HEADER" commit_headers.$$ > /dev/null Is "test_cmp" inappropriate here for some reason? > + ) || Do you need a subshell for this, or just a grouping {} sufficient? > + exit -- 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