From: Junio C Hamano Date: Mon, 25 Jan 2021 22:19:18 +0000 (-0800) Subject: Merge branch 'dl/reflog-with-single-entry' X-Git-Tag: v2.31.0-rc0~103 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=440acfbe0cec5c2316ef7a706c975143c4902b20;p=thirdparty%2Fgit.git Merge branch 'dl/reflog-with-single-entry' After expiring a reflog and making a single commit, the reflog for the branch would record a single entry that knows both @{0} and @{1}, but we failed to answer "what commit were we on?", i.e. @{1} * dl/reflog-with-single-entry: refs: allow @{n} to work with n-sized reflog refs: factor out set_read_ref_cutoffs() --- 440acfbe0cec5c2316ef7a706c975143c4902b20