Re: [PATCH 3/5] sha1_name.c: simplify @-parsing in get_sha1_basic()
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- May 1, 2013, 22:06 UTC
- Message-ID
- <CALkWK0kCcaQHFjR_j+=SK=ni5ZkXua6akJDYw_U9teS1u22HkQ@mail.gmail.com>
- In-Reply-To
- <1367425235-14998-4-git-send-email-artagnon@gmail.com>
Ramkumar Ramachandra wrote:
Show 5 quoted lines
> + 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.