notes: check number of parameters to "git notes copy"
authorJeff King <redacted>
Mon, 28 Jun 2010 08:59:07 +0000 (04:59 -0400)
committerJunio C Hamano <redacted>
Mon, 28 Jun 2010 16:15:15 +0000 (09:15 -0700)
commitbbb1b8a35a06203020f7ab6d1ad58bcb4afe8e93
treec7e4500bf95872f4ffa394fef1af3ebac236a72a
parent9eafa1201b2dcc703258ca7cd53de8ac4de74565
notes: check number of parameters to "git notes copy"

Otherwise we may segfault with too few parameters.

Signed-off-by: Jeff King <redacted>
Tested-by: Bert Wesarg <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/notes.c
t/t3301-notes.sh
git clone https://git.99rst.org/PROJECT