From: Johannes Schindelin Date: Wed, 1 Aug 2007 00:29:38 +0000 (+0100) Subject: Add set_git_dir() function X-Git-Tag: v1.5.3-rc4~19 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d7ac12b25d375d32372b13f74e90425ca21d5dc1?ds=inline;hp=d7ac12b25d375d32372b13f74e90425ca21d5dc1 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 Signed-off-by: Junio C Hamano ---