From: Carl Worth Date: Thu, 26 Nov 2009 18:27:04 +0000 (+1600) Subject: Re: [notmuch] [PATCH] ANSI escapes in "new" only when output is a tty X-Git-Url: http://git.tremily.us/?p=notmuch-archives.git;a=commitdiff_plain;h=21ae925659005ff18bf666f0e57ff02d9fd1db19 Re: [notmuch] [PATCH] ANSI escapes in "new" only when output is a tty --- diff --git a/f1/24f122be694af3f590117b2152b08a85cdbd1f b/f1/24f122be694af3f590117b2152b08a85cdbd1f new file mode 100644 index 000000000..6de054fee --- /dev/null +++ b/f1/24f122be694af3f590117b2152b08a85cdbd1f @@ -0,0 +1,53 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id A3976431FC2; + Thu, 26 Nov 2009 10:27:18 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 1KCQqNzQlMTM; Thu, 26 Nov 2009 10:27:18 -0800 (PST) +Received: from cworth.org (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id D3EEB431FAE; + Thu, 26 Nov 2009 10:27:17 -0800 (PST) +From: Carl Worth +To: Keith Packard , Adrian Perez , + notmuch@notmuchmail.org +In-Reply-To: +References: <1258937675-31405-1-git-send-email-aperez@igalia.com> + <87d439g6za.fsf@yoom.home.cworth.org> +Date: Thu, 26 Nov 2009 10:27:04 -0800 +Message-ID: <874oohrvk7.fsf@yoom.home.cworth.org> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Subject: Re: [notmuch] [PATCH] ANSI escapes in "new" only when output is a + tty +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.12 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Thu, 26 Nov 2009 18:27:18 -0000 + +On Sun, 22 Nov 2009 23:35:24 -0800, Keith Packard wrote: +> Tracking directory mtime instead of just looking at the read-only bit +> would let us skip directories that haven't seen any change in content. + +We've had directory mtime for a long time. I added the check for the +read-only bit afterwards to be able to avoid stats on a whole directory +hierarchy, (since mtime doesn't propagate upward of course). + +> Tracking directory contents would let us easily detect name changes +> (add/remove/rename). + +Do we want git tree objects for the directories? ... + +-Carl