[PATCH 1/2] nmbug-status: Clarify errors for illegible configs

David Bremner david at tethera.net
Sun Jul 13 05:28:17 PDT 2014


"W. Trevor King" <wking at tremily.us> 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



More information about the notmuch mailing list