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 5E023431FC0 for ; Wed, 16 Jul 2014 02:37:00 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 1.274 X-Spam-Level: * X-Spam-Status: No, score=1.274 tagged_above=-999 required=5 tests=[RDNS_NONE=1.274] autolearn=disabled 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 b9ApeZk1oStk for ; Wed, 16 Jul 2014 02:36:50 -0700 (PDT) Received: from yantan.tethera.net (unknown [199.188.72.155]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 49D04431FBD for ; Wed, 16 Jul 2014 02:36:50 -0700 (PDT) Received: from remotemail by yantan.tethera.net with local (Exim 4.80) (envelope-from ) id 1X7LdS-0005Km-1e; Wed, 16 Jul 2014 06:36:26 -0300 Received: (nullmailer pid 4794 invoked by uid 1000); Wed, 16 Jul 2014 09:36:22 -0000 From: David Bremner To: "W. Trevor King" , notmuch@notmuchmail.org Subject: Re: [PATCH 1/4] nmbug: Add a git_with_status helper function In-Reply-To: <6ed6edd459cd50402d7e4abc50a6967709e08f16.1404678709.git.wking@tremily.us> References: <6ed6edd459cd50402d7e4abc50a6967709e08f16.1404678709.git.wking@tremily.us> User-Agent: Notmuch/0.18.1+45~gf47eeac (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Wed, 16 Jul 2014 06:36:22 -0300 Message-ID: <87a989abmx.fsf@maritornes.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain Cc: Tomi Ollila X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Wed, 16 Jul 2014 09:37:00 -0000 "W. Trevor King" writes: > Sometimes we want to catch Git errors and handle them, instead of > dying with an error message. This lower-level version of git() allows > us to get the error status when we want it. pushed this one patch. d