refs: fix valgrind suppression file

Add all of the ways in which check_refname_format violates valgrind's expectations to the valgrind suppression file; remove an assumption about the call chain of check_refname_format from same. Signed-off-by: David Turner <dturner@twitter.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

David Turner committed Jul 4, 2014 at 13:24 UTC a8d9fea772ca49c23ca3ee3d7625b9d1ed94f87f
1 file changed +11 -4
t/valgrind/default.supp
+11 -4
@@ -50,10 +50,17 @@
50 fun:copy_ref
51 }
52 {
53 - ignore-sse-check_refname_format
53 + ignore-sse-check_refname_format-addr
54 Memcheck:Addr8
55 fun:check_refname_format
56 - fun:cmd_check_ref_format
57 - fun:handle_builtin
58 - fun:main
56 +}
57 +{
58 + ignore-sse-check_refname_format-cond
59 + Memcheck:Cond
60 + fun:check_refname_format
61 +}
62 +{
63 + ignore-sse-check_refname_format-value
64 + Memcheck:Value8
65 + fun:check_refname_format
66 }