avoid using sha1_to_hex output as printf format
commitdabd35f4cdd8bcfa502d082da5a3e4b927a2b329
authorJeff King <peff@peff.net>
Fri, 8 Jul 2016 10:35:15 +0000 (8 06:35 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 8 Jul 2016 17:11:27 +0000 (8 10:11 -0700)
treef99ce3fa8296289ea5b7c0b4751d9bde34a19327
parentfa262cac766d383c51e0ead04c62e114a79bd738
avoid using sha1_to_hex output as printf format

We know that it should not contain any percent-signs, but
it's a good habit not to feed non-literals to printf
formatters.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/worktree.c