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

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

Date: Sun, 06 Apr 2014 09:27:59 -0300

To: W. Trevor King, notmuch

Cc:

From: David Bremner


"W. Trevor King" <wking@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

Thread: