commit | 021f2f4c1aed011c664844408325fe683a4046a8 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Fri Dec 21 23:26:16 2012 -0800 |
committer | Junio C Hamano <gitster@pobox.com> | Fri Dec 21 23:55:10 2012 -0800 |
tree | eb9774b7f51800a2e2e8171760d1d6f58eb653bc | |
parent | 68cb7b6f85aa032c33e49137364da9b76b1d95a1 [diff] |
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>