diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-11-06 06:45:38 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-10 11:03:38 -0800 |
commit | 463db9b104b5db7d574ce4c5ede8caaa6d02ff4c (patch) | |
tree | 1be5e1190a0bd603e612286e63c36cd1d105841c /tree.h | |
parent | 58ecbd5edeb2357c313db75bc49d45981a2061b7 (diff) | |
download | git-463db9b104b5db7d574ce4c5ede8caaa6d02ff4c.tar.gz git-463db9b104b5db7d574ce4c5ede8caaa6d02ff4c.tar.xz |
wrapper: move odb_* to environment.c
The odb_mkstemp and odb_pack_keep functions open files under the
$GIT_OBJECT_DIRECTORY directory. This requires access to the git
configuration which very simple programs do not need.
Move these functions to environment.o, closer to their dependencies.
This should make it easier for programs to link to wrapper.o without
linking to environment.o.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tree.h')
0 files changed, 0 insertions, 0 deletions