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

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

Date: Sun, 09 Mar 2014 13:35:43 -0300

To: W. Trevor King

Cc: notmuch@notmuchmail.org

From: David Bremner


"W. Trevor King" <wking@tremily.us> writes:
>> 
>> I think doing a fetch immediately after a clone deserves a comment.
>
> I commented in the commit message.  Basically everything from “One
> tricky bit is that bare repositories don't set upstream tracking
> branches by default” down through “gives us the master-branch commit.”
> is describing what's going on here, and why I made these changes.

Yes.  To expand my comment, I think some of that information
should be in the code.

I'm not really sure about about the alternatives you mention.

Thread: