From: Michael J Gruber Date: Thu, 19 May 2011 18:47:03 GMT Subject: [PATCH 2/2] fixup! notes remove: --stdin reads from the standard input Message-ID: <19352322fc4fcbf59490ab2d812191a3fdc92acb.1305830419.git.git@drmicha.warpmail.net> In-Reply-To: <4DD4C73C.7020600@drmicha.warpmail.net> Cheers :) Signed-off-by: Michael J Gruber --- t/t3301-notes.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t3301-notes.sh b/t/t3301-notes.sh index 1edb7bf..8462173 100755 --- a/t/t3301-notes.sh +++ b/t/t3301-notes.sh @@ -495,11 +495,11 @@ test_expect_success 'remove --stdin is also atomic' ' test "$before" = "$after" ' -test_expect_success 'removing with --stdin --missing-ok' ' +test_expect_success 'removing with --stdin --ignore-missing' ' before=$(git rev-parse --verify refs/notes/commits) && test_when_finished "git update-ref refs/notes/commits $before" && git rev-parse HEAD^^ HEAD^^^ HEAD^ >input && - git notes remove --missing-ok --stdin actual && test 2 = $(wc -l actual && -- 1.7.5.1.558.gc8bec