From: Nguyễn Thái Ngọc Duy Date: Sun, 14 Sep 2008 13:08:04 GMT Subject: [PATCH 15/16] checkout: add new options to support narrow checkout Message-ID: <1221397685-27715-16-git-send-email-pclouds@gmail.com> In-Reply-To: <1221397685-27715-15-git-send-email-pclouds@gmail.com> These options include: --full: return to full checkout (default) --path: narrow checkout to some areas according to given spec --add-path/--remove-path: adjust current narrow checkout Signed-off-by: Nguyễn Thái Ngọc Duy --- Documentation/git-checkout.txt | 68 +++++++++++++++++++++++++++++++++- builtin-checkout.c | 44 ++++++++++++++++++++++ t/t2011-checkout-narrow.sh | 80 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 190 insertions(+), 2 deletions(-) create mode 100755 t/t2011-checkout-narrow.sh diff --git a/Documentation/git-checkout.txt b/Documentation/git-checkout.txt index 82e154d..2ae483b 100644 --- a/Documentation/git-checkout.txt +++ b/Documentation/git-checkout.txt @@ -8,8 +8,10 @@ git-checkout - Checkout a branch or paths to the working tree SYNOPSIS -------- [verse] -'git checkout' [-q] [-f] [--track | --no-track] [-b [-l]] [-m] [] -'git checkout' [-f|--ours|--theirs|-m|--conflict=