aboutsummaryrefslogtreecommitdiff
path: root/t/t4128-apply-root.sh
Commit message (Collapse)AuthorAge
* git-apply --directory: make --root more similar to GNU diffJunio C Hamano2008-07-06
| | | | | | | | | Applying a patch in the directory that is different from what the patch records is done with --directory option in GNU diff. The --root option we introduced previously does the same, and we can call it the same way to give users more familiar feel. Signed-off-by: Junio C Hamano <gitster@pobox.com>
* apply --root: thinkofix.Junio C Hamano2008-07-02
| | | | | | | | The end of a string is string[length-1], not string[length+1]. I pointed it out during the review, but I forgot about it when applying the patch. This should fix it. Signed-off-by: Junio C Hamano <gitster@pobox.com>
* Teach "git apply" to prepend a prefix with "--root=<root>"Johannes Schindelin2008-07-01
With "git apply --root=<root>", all file names in the patch are prepended with <root>. If a "-p" value was given, the paths are stripped _before_ prepending <root>. Wished for by HPA. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>