summaryrefslogtreecommitdiff
path: root/git-pull.sh
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2015-08-10 09:47:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-08-10 19:57:14 (GMT)
commit7eba6ce5c79447579689218d8dab59a8434fd7c7 (patch)
tree8b7bad1293e78afb396cc5289cee20968548d728 /git-pull.sh
parent1a9d15db25487bb3fc009a88375cc206a60e0e3b (diff)
downloadgit-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 'git-pull.sh')
0 files changed, 0 insertions, 0 deletions