From: Nguyễn Thái Ngọc Duy Date: Thu, 24 Mar 2016 11:56:17 GMT Subject: [PATCH 2/4] git-apply.txt: mention the behavior inside a subdir Message-ID: <1458820579-31621-3-git-send-email-pclouds@gmail.com> In-Reply-To: <1458820579-31621-1-git-send-email-pclouds@gmail.com> Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/git-apply.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/git-apply.txt b/Documentation/git-apply.txt index 5444d2f..8ddb207 100644 --- a/Documentation/git-apply.txt +++ b/Documentation/git-apply.txt @@ -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, -- 2.8.0.rc0.210.gd302cd2