diff options
author | Jiang Xin <worldhello.net@gmail.com> | 2013-06-25 23:53:46 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-26 11:22:06 -0700 |
commit | e9a820cefde2170840fbcdf7c4b74369988869dc (patch) | |
tree | 12024a35f95bb2258f739da70ec6480428054c00 /git_remote_helpers/setup.cfg | |
parent | quote_path_relative(): remove redundant parameter (diff) | |
download | tgif-e9a820cefde2170840fbcdf7c4b74369988869dc.tar.xz |
write_name{_quoted_relative,}(): remove redundant parameters
After substitute path_relative() in quote.c with relative_path()
from path.c, parameters (such as len and prefix_len) are redundant
in function write_name() and write_name_quoted_relative(). The
callers have already been audited that the strings they pass are
properly NUL terminated and the length they give are the length of
the string (or -1 that asks the length to be counted by the callee).
Remove these now-redundant parameters.
Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git_remote_helpers/setup.cfg')
0 files changed, 0 insertions, 0 deletions