]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'dl/reflog-with-single-entry'
authorJunio C Hamano <gitster@pobox.com>
Mon, 25 Jan 2021 22:19:18 +0000 (14:19 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Jan 2021 22:19:18 +0000 (14:19 -0800)
commit440acfbe0cec5c2316ef7a706c975143c4902b20
tree34a167f09449a657477686fbefcec31b32cd51b7
parent080627942802e767b068a491f3d349227f4e2cdc
parent6436a20284f33d42103cac93bd82e65bebb31526
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()