From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Fernando J. Pereda" Subject: [PATCH] Teach mailsplit about Maildir Date: Fri, 27 Apr 2007 15:23:13 +0200 Message-ID: <20070427132313.GA5237@ferdyx.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: git@vger.kernel.org To: Junio C Hamano X-From: git-owner@vger.kernel.org Fri Apr 27 15:23:39 2007 Return-path: Envelope-to: gcvg-git@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1HhQQE-0006FU-7O for gcvg-git@gmane.org; Fri, 27 Apr 2007 15:23:38 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755821AbXD0NX3 (ORCPT ); Fri, 27 Apr 2007 09:23:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755824AbXD0NX3 (ORCPT ); Fri, 27 Apr 2007 09:23:29 -0400 Received: from 170.Red-213-96-222.staticIP.rima-tde.net ([213.96.222.170]:50319 "EHLO smtp.ferdyx.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755821AbXD0NX1 (ORCPT ); Fri, 27 Apr 2007 09:23:27 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp.ferdyx.org (Postfix) with ESMTP id A08568D316; Fri, 27 Apr 2007 15:00:47 +0200 (CEST) Received: from smtp.ferdyx.org ([127.0.0.1]) by localhost (tungsteno [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17654-09; Fri, 27 Apr 2007 15:00:36 +0200 (CEST) Received: from posidon.ferdyx.org (posidon.ferdyx.org [192.168.0.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.ferdyx.org (Postfix) with ESMTP id CB3158D305; Fri, 27 Apr 2007 15:00:35 +0200 (CEST) Received: by posidon.ferdyx.org (nbSMTP-1.01-cvs) for uid 1000 (using TLSv1/SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) ferdy@ferdyx.org; Fri, 27 Apr 2007 15:23:13 +0200 (CEST) Mail-Followup-To: "Fernando J. Pereda" , Junio C Hamano , git@vger.kernel.org Content-Disposition: inline User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ferdyx.org Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: Signed-off-by: Fernando J. Pereda --- This time I changed the documentation of git-am and git-mailsplit to state that it can also split Maildirs. Instead of taking an arbitrary order (like my last patch) it now relies on filenames to be sorted. Although the Maildir 'spec' prohibits it, at leas Documentation/git-am.txt | 7 +- Documentation/git-mailsplit.txt | 11 +++- builtin-mailsplit.c | 122 ++++++++++++++++++++++++++++++++------ builtin.h | 2 +- 4 files changed, 115 insertions(+), 27 deletions(-) diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt index f0405a3..3b392f0 100644 --- a/Documentation/git-am.txt +++ b/Documentation/git-am.txt @@ -11,7 +11,7 @@ SYNOPSIS [verse] 'git-am' [--signoff] [--dotest=] [--utf8 | --no-utf8] [--binary] [--3way] [--interactive] [--whitespace=