diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2014-01-08 15:43:39 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-01-09 14:56:06 -0800 |
commit | 4346663a14fe2af5e5cec94213203e199b7dfc3f (patch) | |
tree | 47d4d8a8d2ab935607e74f02fd22fc61c35bdd1b /xdiff/xtypes.h | |
parent | shorten_unambiguous_ref(): introduce a new local variable (diff) | |
download | tgif-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 'xdiff/xtypes.h')
0 files changed, 0 insertions, 0 deletions