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 1B83B431FBD for ; Sun, 13 Jul 2014 05:28:29 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 yxJS29chEUfq for ; Sun, 13 Jul 2014 05:28:21 -0700 (PDT) Received: from yantan.tethera.net (yantan.tethera.net [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 5F3C0431FBC for ; Sun, 13 Jul 2014 05:28:21 -0700 (PDT) Received: from remotemail by yantan.tethera.net with local (Exim 4.80) (envelope-from ) id 1X6ItA-0006qe-Ok; Sun, 13 Jul 2014 09:28:20 -0300 Received: (nullmailer pid 18343 invoked by uid 1000); Sun, 13 Jul 2014 12:28:17 -0000 From: David Bremner To: "W. Trevor King" , notmuch@notmuchmail.org Subject: Re: [PATCH 1/2] nmbug-status: Clarify errors for illegible configs In-Reply-To: <1c786e115a812384a8b397583027cf89316253cb.1399749244.git.wking@tremily.us> References: <1c786e115a812384a8b397583027cf89316253cb.1399749244.git.wking@tremily.us> User-Agent: Notmuch/0.18.1+29~gb5327d4 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu) Date: Sun, 13 Jul 2014 09:28:17 -0300 Message-ID: <87wqbhfnoe.fsf@maritornes.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain 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: Sun, 13 Jul 2014 12:28:29 -0000 "W. Trevor King" writes: > $ ./nmbug-status > fatal: Not a git repository: '/home/wking/.nmbug' > No local branch 'config' in /home/wking/.nmbug. Checkout a local > config branch or explicitly set --config. > This is not _precicisely correct_; it works fine if config is not a local branch; try cd ~/.nmbug && git branch -D config && git show-ref -s config I'm not sure if it matters, it won't hurt for the user to create a local branch, but maybe you can think of a better wording. And also an easy way to test this, since deleting the local config branch is not enough. d