summaryrefslogtreecommitdiffstats
path: root/dump-cache-tree.c
diff options
context:
space:
mode:
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>2007-08-01 02:29:38 +0200
committerJunio C Hamano <gitster@pobox.com>2007-08-01 09:38:31 +0200
commitd7ac12b25d375d32372b13f74e90425ca21d5dc1 (patch)
treea79db447d85ee9a56f51851f5eafba6daf197b8a /dump-cache-tree.c
parentAdd functions get_relative_cwd() and is_inside_dir() (diff)
downloadgit-d7ac12b25d375d32372b13f74e90425ca21d5dc1.tar.xz
git-d7ac12b25d375d32372b13f74e90425ca21d5dc1.zip
Add set_git_dir() function
With the function set_git_dir() you can reset the path that will be used for git_path(), git_dir() and friends. The responsibility to close files and throw away information from the old git_dir lies with the caller. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dump-cache-tree.c')
0 files changed, 0 insertions, 0 deletions