From: Junio C Hamano Date: Tue, 5 Mar 2024 17:44:42 +0000 (-0800) Subject: Merge branch 'jk/reflog-special-cases-fix' X-Git-Tag: v2.45.0-rc0~144 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=74522bbd98418bf94e918cef2cf911402eca692f;p=thirdparty%2Fgit.git Merge branch 'jk/reflog-special-cases-fix' The logic to access reflog entries by date and number had ugly corner cases at the boundaries, which have been cleaned up. * jk/reflog-special-cases-fix: read_ref_at(): special-case ref@{0} for an empty reflog get_oid_basic(): special-case ref@{n} for oldest reflog entry Revert "refs: allow @{n} to work with n-sized reflog" --- 74522bbd98418bf94e918cef2cf911402eca692f