From: Ramkumar Ramachandra Date: Wed, 01 May 2013 22:06:07 GMT Subject: Re: [PATCH 3/5] sha1_name.c: simplify @-parsing in get_sha1_basic() Message-ID: In-Reply-To: <1367425235-14998-4-git-send-email-artagnon@gmail.com> Ramkumar Ramachandra wrote: > + if (!len) > + /* In the @{N} case where there's nothing > + * before the @. > + */ > + refs_found = dwim_log("HEAD", 4, sha1, &real_ref); Minor mistake here: it should be dwim_ref, not dwim_log. Thanks to Junio/ Jeff for poking.