summaryrefslogtreecommitdiff
path: root/git-merge-resolve.sh
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-11-06 11:46:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-11-10 19:04:26 (GMT)
commit33f239365cce2682a1faac0d5670d684aa1981ad (patch)
tree107194f313fead979916489bab2f702a7f21580c /git-merge-resolve.sh
parent463db9b104b5db7d574ce4c5ede8caaa6d02ff4c (diff)
downloadgit-33f239365cce2682a1faac0d5670d684aa1981ad.zip
git-33f239365cce2682a1faac0d5670d684aa1981ad.tar.gz
git-33f239365cce2682a1faac0d5670d684aa1981ad.tar.bz2
path helpers: move git_mkstemp* to wrapper.c
git_mkstemp_mode and related functions do not require access to specialized git machinery, unlike some other functions from path.c (like set_shared_perm()). Move them to wrapper.c where the wrapper xmkstemp_mode is defined. This eliminates a dependency of wrapper.o on environment.o via path.o. With typical linkers (e.g., gcc), that dependency makes programs that use functions from wrapper.o and not environment.o or path.o larger than they need to be. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-merge-resolve.sh')
0 files changed, 0 insertions, 0 deletions