Junio C Hamano wrote: > [Stalled] > > * je/send-email-no-subject (2009-08-05) 1 commit > - send-email: confirm on empty mail subjects > > This seems to break t9001. Near the tip of 'pu' I have a iffy > workaround. Can you squash this into your 'iffy' workaround to help platforms (Solaris 7, IRIX 6.5) without the 'yes' utility? --- t/t9001-send-email.sh | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh index 960d7d8..641d0c3 100755 --- a/t/t9001-send-email.sh +++ b/t/t9001-send-email.sh @@ -505,6 +505,14 @@ test_expect_success '--suppress-cc=cc' ' test_suppression cc ' +yes () { + test -n "$*" && y="$*" || y='y' + while echo "$y" + do + : + done +} + test_confirm () { yes | \ GIT_SEND_EMAIL_NOTTY=1 \ -- 1.6.4 -- 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