summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2014-01-08 15:43:39 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-01-09 14:56:06 -0800
commit4346663a14fe2af5e5cec94213203e199b7dfc3f (patch)
tree47d4d8a8d2ab935607e74f02fd22fc61c35bdd1b /contrib
parentshorten_unambiguous_ref(): introduce a new local variable (diff)
downloadtgif-4346663a14fe2af5e5cec94213203e199b7dfc3f.tar.xz
gen_scanf_fmt(): delete function and use snprintf() instead
To replace "%.*s" with "%s", all we have to do is use snprintf() to interpolate "%s" into the pattern. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions