{"thread":{"id":"30081","subject":"[PATCH] am: support --include option","startedAt":"2012-03-28T11:11:28Z","lastAt":"2012-03-28T11:26:15Z","messageCount":2,"participants":["Johannes Berg","Ramkumar Ramachandra"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"187925","messageId":"1332933088.3479.27.camel@jlt3.sipsolutions.net","threadId":"30081","inReplyTo":null,"subject":"[PATCH] am: support --include option","fromName":"Johannes Berg","fromEmail":"johannes@sipsolutions.net","sentAt":"2012-03-28T11:11:28Z","receivedAt":"2012-03-28T11:11:28Z","isPatch":true,"sender":{"key":"johannes@sipsolutions.net","avatar":"https://avatars.githubusercontent.com/u/5159728?v=4"},"body":"am supports a number of pass-through options\nto apply, like --exclude and --directory. Add\n--include to this list.\n\nSigned-off-by: Johannes Berg <johannes@sipsolutions.net>\n---\n Documentation/git-am.txt |    3 ++-\n git-am.sh                |    3 ++-\n 2 files changed, 4 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/git-am.txt b/Documentation/git-am.txt\nindex ee6cca2..19d57a8 100644\n--- a/Documentation/git-am.txt\n+++ b/Documentation/git-am.txt\n@@ -13,7 +13,7 @@ SYNOPSIS\n \t [--3way] [--interactive] [--committer-date-is-author-date]\n \t [--ignore-date] [--ignore-space-change | --ignore-whitespace]\n \t [--whitespace=<option>] [-C<n>] [-p<n>] [--directory=<dir>]\n-\t [--exclude=<path>] [--reject] [-q | --quiet]\n+\t [--exclude=<path>] [--include=<path>] [--reject] [-q | --quiet]\n \t [--scissors | --no-scissors]\n \t [(<mbox> | <Maildir>)...]\n 'git am' (--continue | --skip | --abort)\n@@ -92,6 +92,7 @@ default.   You can use `--no-utf8` to override this.\n -p<n>::\n --directory=<dir>::\n --exclude=<path>::\n+--include=<path>::\n --reject::\n \tThese flags are passed to the 'git apply' (see linkgit:git-apply[1])\n \tprogram that applies\ndiff --git a/git-am.sh b/git-am.sh\nindex 4da0dda..928a35f 100755\n--- a/git-am.sh\n+++ b/git-am.sh\n@@ -24,6 +24,7 @@ ignore-space-change pass it through git-apply\n ignore-whitespace pass it through git-apply\n directory=      pass it through git-apply\n exclude=        pass it through git-apply\n+include=        pass it through git-apply\n C=              pass it through git-apply\n p=              pass it through git-apply\n patch-format=   format the patch(es) are in\n@@ -412,7 +413,7 @@ do\n \t\t;;\n \t--resolvemsg)\n \t\tshift; resolvemsg=$1 ;;\n-\t--whitespace|--directory|--exclude)\n+\t--whitespace|--directory|--exclude|--include)\n \t\tgit_apply_opt=\"$git_apply_opt $(sq \"$1=$2\")\"; shift ;;\n \t-C|-p)\n \t\tgit_apply_opt=\"$git_apply_opt $(sq \"$1$2\")\"; shift ;;\n-- \n1.7.9.1\n"},{"id":"187926","messageId":"CALkWK0mvF=YWP5FDaDsY5OeW00_PqKokZ2t5Ev_cpbi0+2rJ+Q@mail.gmail.com","threadId":"30081","inReplyTo":"1332933088.3479.27.camel@jlt3.sipsolutions.net","subject":"Re: [PATCH] am: support --include option","fromName":"Ramkumar Ramachandra","fromEmail":"artagnon@gmail.com","sentAt":"2012-03-28T11:26:15Z","receivedAt":"2012-03-28T11:26:15Z","isPatch":true,"sender":{"key":"r@artagnon.com","avatar":"https://avatars.githubusercontent.com/u/37226?v=4"},"body":"Hi Johannes,\n\nJohannes Berg wrote:\n> am supports a number of pass-through options\n> to apply, like --exclude and --directory. Add\n> --include to this list.\n\nLooks good to me.  Thanks for working on this.\n\n    Ram\n"}]}