]> git.ipfire.org Git - thirdparty/git.git/commit
git-gui: remove HEAD detachment implementation for git < 1.5.3
authorMark Levedahl <mlevedahl@gmail.com>
Fri, 2 May 2025 15:39:55 +0000 (11:39 -0400)
committerTaylor Blau <me@ttaylorr.com>
Fri, 23 May 2025 21:04:23 +0000 (17:04 -0400)
commitf9a2e8a38f524c04fc493548303488dc180b25bd
tree67f34df72b03cbdf12a448f184f03dca8d676be8
parent4774c704d20e50ad710f65756099c3eedbfbe789
git-gui: remove HEAD detachment implementation for git < 1.5.3

git-gui provides an implementation to detach HEAD on Git versions prior
to 1.5.3.  Nobody should be using such an old version anymore.
(Moreover, since 0730a5a3a, git-gui requires git v2.36 or later).
Keep only the code for modern Git.

Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
[j6t: message tweaked]
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
lib/checkout_op.tcl