summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-26 07:14:15 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-11-29 07:13:01 (GMT)
commitedf2e37002eeb30a2ccad5db3b3e1fe41cdc7eb0 (patch)
tree6e54580ff2c4e88ec68a7d22afe884544851382d /http.h
parent4ca0660816671f65546626b6e2c2038b6a347a8b (diff)
downloadgit-edf2e37002eeb30a2ccad5db3b3e1fe41cdc7eb0.zip
git-edf2e37002eeb30a2ccad5db3b3e1fe41cdc7eb0.tar.gz
git-edf2e37002eeb30a2ccad5db3b3e1fe41cdc7eb0.tar.bz2
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.h')
0 files changed, 0 insertions, 0 deletions