author | Jonathan Nieder <jrnieder@gmail.com> | |
Sat, 24 Jul 2010 11:18:38 +0000 (06:18 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 26 Jul 2010 05:08:02 +0000 (22:08 -0700) | ||
commit | 9f41a91a7d100055fbd527f35b8cddae0bd91cac | |
tree | c4beda11e283ee6886b0da7215e45ba99cf43c95 | tree | snapshot |
parent | fc688759b95e6888bb1dc4c4d00d27dca4e59ddb | commit | diff |
tests: try git apply from subdir of toplevel
Make sure git apply can apply patches with paths relative to the
toplevel of a work tree, a subdirectory, or within the repository
metadata directory.
Relative paths are broken for most commands when run from a
subdirectory of $GIT_DIR, "git apply" being no exception. The other
tests are meant to keep the demonstration of that company.
Based on a test by Duy.
Cc: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Make sure git apply can apply patches with paths relative to the
toplevel of a work tree, a subdirectory, or within the repository
metadata directory.
Relative paths are broken for most commands when run from a
subdirectory of $GIT_DIR, "git apply" being no exception. The other
tests are meant to keep the demonstration of that company.
Based on a test by Duy.
Cc: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t4111-apply-subdir.sh | [new file with mode: 0755] | blob |