On Saturday 01 September 2007 11:01, Junio C Hamano wrote: > printf "Committed: %0${prec}d " $msgnum > - git rev-list --pretty=oneline -1 HEAD | \ > - sed 's/^[a-f0-9]\+ //' > else > printf "Already applied: %0${prec}d " $msgnum > - git rev-list --pretty=oneline -1 "$cmt" | \ > - sed 's/^[a-f0-9]\+ //' > fi > + git rev-list --pretty=oneline -1 "$cmt" | sed -e 's/^[^ ]* //' I prefer this over my version as well. -- 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