[PATCH v2] nmbug: Add 'clone' and replace FETCH_HEAD with @{upstream}

David Bremner david at tethera.net
Sun Apr 6 05:27:59 PDT 2014


"W. Trevor King" <wking at tremily.us> writes:

> With two branches getting fetched (master and config), the branch
> referenced by FETCH_HEAD is ambiguous.  For example, I have:
>
>   $ cat FETCH_HEAD
>   41d7bfa7184cc93c9dac139d1674e9530799e3b0 \
>     not-for-merge   branch 'config' of http://nmbug.tethera.net/git/nmbug-tags
>   acd379ccb973c45713eee9db177efc530f921954 \
>     not-for-merge   branch 'master' of http://nmbug.tethera.net/git/nmbug-tags

This patch seems OK.  I think it makes sense to have an "nmbug clone"
command; perhaps the implementation can be simplified in the future (or
perhaps not).

d


More information about the notmuch mailing list