]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-apply.txt: mention the behavior inside a subdir
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 24 Mar 2016 11:56:17 +0000 (18:56 +0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 24 Mar 2016 17:16:52 +0000 (10:16 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-apply.txt

index 5444d2ffebe601ec1cfced5232f1f7521878e76a..8ddb207409df99825b561be42234e9c23707287d 100644 (file)
@@ -21,6 +21,8 @@ SYNOPSIS
 DESCRIPTION
 -----------
 Reads the supplied diff output (i.e. "a patch") and applies it to files.
+When running from a subdirectory in a repository, patched paths
+outside the directory are ignored.
 With the `--index` option the patch is also applied to the index, and
 with the `--cached` option the patch is only applied to the index.
 Without these options, the command applies the patch only to files,