summaryrefslogtreecommitdiff
path: root/git-gui/lib/win32_shortcut.js
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2023-11-29 08:24:49 +0100
committerJunio C Hamano <gitster@pobox.com>2023-12-03 11:50:23 +0900
commitb49831ca1cb91dc04edee8b5c40cee093372e948 (patch)
tree68342ca40254c4359e203b975bb989ffec34fd9d /git-gui/lib/win32_shortcut.js
parentdb7288b321d5429a6a02b47f27907a519300c6e6 (diff)
t1401: stop treating FETCH_HEAD as real reference
One of the tests in t1401 asserts that we can create a symref from a symbolic reference to a top-level reference, which is done by linking from `refs/heads/top-level` to `FETCH_HEAD`. But `FETCH_HEAD` is not a proper reference and doesn't even follow the loose reference format, so it is not a good candidate for the logic under test. Refactor the test to use `ORIG_HEAD` instead of `FETCH_HEAD`. This also works with other backends than the reffiles one. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/win32_shortcut.js')
0 files changed, 0 insertions, 0 deletions