diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-11-06 06:46:31 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-10 11:04:26 -0800 |
commit | 33f239365cce2682a1faac0d5670d684aa1981ad (patch) | |
tree | 107194f313fead979916489bab2f702a7f21580c /trace.c | |
parent | 463db9b104b5db7d574ce4c5ede8caaa6d02ff4c (diff) | |
download | git-33f239365cce2682a1faac0d5670d684aa1981ad.tar.gz git-33f239365cce2682a1faac0d5670d684aa1981ad.tar.xz |
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 'trace.c')
0 files changed, 0 insertions, 0 deletions