get_patch_filename(): simplify function signature
authorJunio C Hamano <gitster@pobox.com>
Sat, 22 Dec 2012 07:26:16 +0000 (23:26 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 22 Dec 2012 07:55:10 +0000 (23:55 -0800)
commit021f2f4c1aed011c664844408325fe683a4046a8
treeeb9774b7f51800a2e2e8171760d1d6f58eb653bc
parent68cb7b6f85aa032c33e49137364da9b76b1d95a1
get_patch_filename(): simplify function signature

Most functions that emit to a strbuf take the strbuf as their first
parameter; make this function follow suit.

The serial number of the patch being emitted (nr) and suffix used
for patch filename (suffix) are both recorded in rev_info; drop
these separate parameters and pass the rev_info directly.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/log.c
log-tree.c
log-tree.h