diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2015-08-10 09:47:42 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-08-10 19:57:14 (GMT) |
commit | 7eba6ce5c79447579689218d8dab59a8434fd7c7 (patch) | |
tree | 8b7bad1293e78afb396cc5289cee20968548d728 /generate-cmdlist.perl | |
parent | 1a9d15db25487bb3fc009a88375cc206a60e0e3b (diff) | |
download | git-7eba6ce5c79447579689218d8dab59a8434fd7c7.zip git-7eba6ce5c79447579689218d8dab59a8434fd7c7.tar.gz git-7eba6ce5c79447579689218d8dab59a8434fd7c7.tar.bz2 |
prepare_tempfile_object(): new function, extracted from create_tempfile()
This makes the next step easier.
The old code used to use "path" to set the initial length of
tempfile->filename. This was not helpful because path was usually
relative whereas the value stored to filename will be absolute. So
just initialize the length to 0.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'generate-cmdlist.perl')
0 files changed, 0 insertions, 0 deletions