From: Felipe Contreras Date: Tue, 7 May 2013 22:04:30 +0000 (-0500) Subject: sha1_name: refactor reinterpret() X-Git-Tag: v1.8.4-rc0~180^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/7a0a49a7ca787433255280b66e7652b56f7beb6e?ds=inline;hp=7a0a49a7ca787433255280b66e7652b56f7beb6e sha1_name: refactor reinterpret() This code essentially replaces part of ref with another ref, for example '@{-1}@{u}' is replaced with 'master@{u}', but this can be reused for other purposes other than nth prior checkouts. Signed-off-by: Felipe Contreras Signed-off-by: Junio C Hamano ---