Revision c8db708d5d865a2085230687689868520863abe1 authored by René Scharfe on 30 September 2014, 17:42:03 UTC, committed by Junio C Hamano on 30 September 2014, 18:53:23 UTC
FreeBSD's printf(1) doesn't accept empty strings for numerical format
specifiers:

	$ printf "%d\n" "" >/dev/null; echo $?
	printf: : expected numeric value
	1

Initialize the AWK variable c to make sure the shell variable
subtree_count always contains a numerical value, in order to keep the
subsequently called printf happy.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 4ed115e
History
File Mode Size
po
.gitignore -rw-r--r-- 27 bytes
Makefile -rw-r--r-- 2.1 KB
gitk -rwxr-xr-x 336.0 KB

back to top