{"thread":{"id":"23133","subject":"[PATCH] am: Pass exclude and include args to apply","startedAt":"2010-03-22T04:39:40Z","lastAt":"2010-03-22T04:39:40Z","messageCount":1,"participants":["maximilian attems"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"137515","messageId":"1269232780-25314-1-git-send-email-max@stro.at","threadId":"23133","inReplyTo":null,"subject":"[PATCH] am: Pass exclude and include args to apply","fromName":"maximilian attems","fromEmail":"max@stro.at","sentAt":"2010-03-22T04:39:40Z","receivedAt":"2010-03-22T04:39:40Z","isPatch":true,"sender":{"key":"max@stro.at","avatar":"https://avatars.githubusercontent.com/u/1266461?v=4"},"body":"I had to port patches from dash git to klibc git,\nwhere dash has a different directory structure.\n\nExported with format-patch on one side and used am\nfor the other side. There this switches came in handy.\n\nSigned-off-by: maximilian attems <max@stro.at>\n---\n git-am.sh |    4 +++-\n 1 files changed, 3 insertions(+), 1 deletions(-)\n\ndiff --git a/git-am.sh b/git-am.sh\nindex 50a292a..fc2f862 100755\n--- a/git-am.sh\n+++ b/git-am.sh\n@@ -22,6 +22,8 @@ whitespace=     pass it through git-apply\n 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@@ -339,7 +341,7 @@ do\n \t\t;;\n \t--resolvemsg)\n \t\tshift; resolvemsg=$1 ;;\n-\t--whitespace|--directory)\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.0.2\n"}]}