diff options
author | Junio C Hamano <junkio@cox.net> | 2005-11-25 23:14:15 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-11-28 23:13:01 -0800 |
commit | edf2e37002eeb30a2ccad5db3b3e1fe41cdc7eb0 (patch) | |
tree | 6e54580ff2c4e88ec68a7d22afe884544851382d /http-fetch.c | |
parent | working from subdirectory: preparation (diff) | |
download | tgif-edf2e37002eeb30a2ccad5db3b3e1fe41cdc7eb0.tar.xz |
git-apply: work from subdirectory.
When applying a patch to index file, we need to know where GIT_DIR is;
use setup_git_directory() to find it out. This also allows us to work
from a subdirectory if we wanted to.
When git-apply is run from a subdirectory, it applies the given patch
only to the files under the current directory and below.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'http-fetch.c')
0 files changed, 0 insertions, 0 deletions