From: Ramkumar Ramachandra Date: Thu, 02 May 2013 15:43:49 GMT Subject: Re: [PATCH 7/9] remote.c: teach branch_get() to treat symrefs other than HEAD Message-ID: In-Reply-To: Ramkumar Ramachandra wrote: > So sorry about this, but this breaks some tests in t1507 > (rev-parse-upstream). I'm looking into this now. > > In the meantime, reviewers can focus on the commit message. So, it turns out that some callers expect it to read_config(). If we're still adamant about not touching branch_get(), the alternative is to call resolve_ref_unsafe() before the branch_get() call in interpret_branch_name(). We'll still retain the H@{u}, but we'll lose the 'git branch -u ram/master M'.