From mboxrd@z Thu Jan 1 00:00:00 1970 From: maximilian attems Subject: [PATCH v2] am: Allow passing exclude and include args to apply Date: Sun, 19 Dec 2010 19:22:39 +0100 Message-ID: <1292782959-27887-1-git-send-email-max@stro.at> Cc: Junio C Hamano , maximilian attems , klibc@zytor.com, Thiago Farina , Sam Ravnborg To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Sun Dec 19 19:24:41 2010 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PUNw0-00030R-23 for gcvg-git-2@lo.gmane.org; Sun, 19 Dec 2010 19:24:40 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932385Ab0LSSYf (ORCPT ); Sun, 19 Dec 2010 13:24:35 -0500 Received: from vostochny.stro.at ([78.47.22.85]:45580 "EHLO vostochny.stro.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932242Ab0LSSYe (ORCPT ); Sun, 19 Dec 2010 13:24:34 -0500 Received: from stro.at (178.112.199.118.wireless.dyn.drei.com [178.112.199.118]) by vostochny.stro.at (Postfix) with ESMTPA id 713C0C05C; Sun, 19 Dec 2010 18:23:53 +0000 (UTC) Received: by stro.at (Postfix, from userid 1000) id 50028204A7; Sun, 19 Dec 2010 19:23:44 +0100 (CET) X-Mailer: git-send-email 1.7.2.3 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: am already allows to pass several flags to apply as directory or reject, but not yet the exclude and include args. When porting dash patches from dash git to klibc git, where dash has a different directory structure, the exclude and include am switches are handy: Exported with format-patch on dash side and used am as import for klibc side. Cc: klibc@zytor.com Cc: Thiago Farina Cc: Sam Ravnborg Signed-off-by: maximilian attems --- Documentation/git-am.txt | 5 ++++- git-am.sh | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt index 51297d0..4c65dba 100644 --- a/Documentation/git-am.txt +++ b/Documentation/git-am.txt @@ -13,7 +13,8 @@ SYNOPSIS [--3way] [--interactive] [--committer-date-is-author-date] [--ignore-date] [--ignore-space-change | --ignore-whitespace] [--whitespace=