Matthieu Moy <Matthieu.Moy@xxxxxxxxxxxxxxx> writes: > Junio C Hamano <gitster@xxxxxxxxx> writes: > >> + pick|p|drop|d|reword|r|edit|e|squash|s|fixup|f) >> + if ! check_commit_sha "${rest%% *}" "$lineno" "$1" > > This does not pass my "tabs" test, as it parses the sha1 out of the line > assuming it's separated with a space. Yes, it was very much deliberate to match what transform_todo_ids does. I do not think we mind loosening this SP to SP/HT at all, but if we are going to go in that direction, I'd very much more prefer to do "${rest%%[ ]*}" here _and_ in transform_todo_ids so that we can keep the identical parsing, which is the primary point of the "regression fix", rather than doing this: > I changed it to > > while read -r command sha1 rest > > which is a bit more lazy. which is to invite the two parsers drift apart over time. Thanks. -- 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