Re: [RFC PATCH v3 06/12] notes: implement 'git notes copy --stdin'
Thomas Rast <trast@student.ethz.ch> writes:
Show 12 quoted lines
> 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 &&