Re: [PATCH 1/3] fetch: add --allow-local option
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- May 16, 2013, 10:32 UTC
- Message-ID
- <CALkWK0m=-ePHCLChrBSgD_cUk=MOSt15aYf-yXhn_LpDro88fw@mail.gmail.com>
- In-Reply-To
- <CAMP44s03C2Wi5Bwma2wK5jMisBCyBaOVQ8UXuPaec9f27A0RvQ@mail.gmail.com>
Felipe Contreras wrote:
> Answer: because 'git fetch .' doesn't make any sense. So if > 'branch.HEAD.remote' is '.' it doesn't make sense to do 'git fetch .'.
I agree that 'git fetch .' is currently not useful (and I am not against changing its behavior), but my question pertains to why you are replacing it with the hard-coded "origin". What happens when I git branch -t -b devel hot-branch where branch.hot-branch.remote = ram and not origin?