From: Felipe Contreras Date: Mon, 2 Sep 2013 06:34:29 +0000 (-0500) Subject: sha1-name: pass len argument to interpret_branch_name() X-Git-Tag: v1.8.5-rc0~91^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/cf99a761d3903dbaf8265f60da9eaee6a15a6fe6?hp=cf99a761d3903dbaf8265f60da9eaee6a15a6fe6 sha1-name: pass len argument to interpret_branch_name() This is useful to make sure we don't step outside the boundaries of what we are interpreting at the moment. For example while interpreting foobar@{u}~1, the job of interpret_branch_name() ends right before ~1, but there's no way to figure that out inside the function, unless the len argument is passed. So let's do that. Signed-off-by: Felipe Contreras Signed-off-by: Junio C Hamano ---