summaryrefslogtreecommitdiff
path: root/peek-remote.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-11-25 23:14:15 -0800
committerJunio C Hamano <junkio@cox.net>2005-11-28 23:13:01 -0800
commitedf2e37002eeb30a2ccad5db3b3e1fe41cdc7eb0 (patch)
tree6e54580ff2c4e88ec68a7d22afe884544851382d /peek-remote.c
parent4ca0660816671f65546626b6e2c2038b6a347a8b (diff)
downloadgit-edf2e37002eeb30a2ccad5db3b3e1fe41cdc7eb0.tar.gz
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 'peek-remote.c')
0 files changed, 0 insertions, 0 deletions