From: Junio C Hamano Date: Sun, 21 Feb 2010 03:31:15 GMT Subject: Re: [RFC PATCH v3 06/12] notes: implement 'git notes copy --stdin' Message-ID: <7v8wan464c.fsf@alter.siamese.dyndns.org> In-Reply-To: <3559e59dd81bd3fb94196c399e1640681a323147.1266703765.git.trast@student.ethz.ch> Thomas Rast writes: > diff --git a/t/t3301-notes.sh b/t/t3301-notes.sh > index 0dfff82..634d213 100755 > --- a/t/t3301-notes.sh > +++ b/t/t3301-notes.sh > @@ -683,4 +683,36 @@ test_expect_success 'cannot copy note from object without notes' ' > ... > +test_expect_success 'git notes copy --stdin' ' > + (echo $(git rev-parse HEAD~3) $(git rev-parse HEAD^); \ > + echo $(git rev-parse HEAD~2) $(git rev-parse HEAD)) | > + git notes copy --stdin && > + git log -2 > output && > + strip_then_cmp expect output && Huh?