From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nanako Shiraishi Subject: [PATCH 2/2 (v2)] git-am: Add --ignore-date option Date: Sat, 24 Jan 2009 10:18:02 +0900 Message-ID: <20090124101802.6117@nanako3.lavabit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Junio C Hamano To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Sat Jan 24 02:19:50 2009 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1LQXBa-00036o-AX for gcvg-git-2@gmane.org; Sat, 24 Jan 2009 02:19:46 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753607AbZAXBSR convert rfc822-to-quoted-printable (ORCPT ); Fri, 23 Jan 2009 20:18:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753547AbZAXBSR (ORCPT ); Fri, 23 Jan 2009 20:18:17 -0500 Received: from karen.lavabit.com ([72.249.41.33]:53008 "EHLO karen.lavabit.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753420AbZAXBSQ (ORCPT ); Fri, 23 Jan 2009 20:18:16 -0500 Received: from b.earth.lavabit.com (b.earth.lavabit.com [192.168.111.11]) by karen.lavabit.com (Postfix) with ESMTP id CE89BC7AA6; Fri, 23 Jan 2009 19:18:15 -0600 (CST) Received: from 7951.lavabit.com (212.62.97.21) by lavabit.com with ESMTP id AJN1JPYYPTDY; Fri, 23 Jan 2009 19:18:15 -0600 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=yMJropgjjM0sXxoIEHOYG+LyKTSH0k7ADfWds4cRCJEQd+uchHg0W4CkyKGUMXPRlWUJu1MV7YzoZvhfnit6wisDkFlFvoN7MR8bDX8Voi2CMHml1iwibRDW/c2NmGhgSbEiEMm0Iz8TVBG5BvIXlVzDTSNGGIHAfuNdodF/Vpg=; h=From:To:Cc:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id; Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: This new option tells 'git-am' to ignore the date header field recorded in the format-patch output. The commits will have the timestamp when they are created instead. You can work a lot in one day to accumulate many changes, but apply and push to the public repository only some of them at the end of the first day. Then next day you can spend all your working hours reading comics or chatting with your coworkers, and apply your remaining patches from the previous day using this option to pretend that you have been working at the end of the day. Signed-off-by: =E3=81=97=E3=82=89=E3=81=84=E3=81=97=E3=81=AA=E3=81=AA=E3= =81=93 --- Added documentation and copied your response about the new test as a comment. Documentation/git-am.txt | 17 ++++++++++++++++- git-am.sh | 8 ++++++++ t/t4150-am.sh | 13 +++++++++++++ 3 files changed, 37 insertions(+), 1 deletions(-) diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt index 5cbbe76..c10c91b 100644 --- a/Documentation/git-am.txt +++ b/Documentation/git-am.txt @@ -10,7 +10,8 @@ SYNOPSIS -------- [verse] 'git am' [--signoff] [--keep] [--utf8 | --no-utf8] - [--3way] [--interactive] + [--3way] [--interactive] [--committer-date-is-author-date] + [--ignore-date] [--whitespace=3D