]> git.ipfire.org Git - thirdparty/git.git/commit
git-gui: use git-branch --show-current
authorMark Levedahl <mlevedahl@gmail.com>
Mon, 12 Feb 2024 19:42:05 +0000 (14:42 -0500)
committerMark Levedahl <mlevedahl@gmail.com>
Sat, 19 Jul 2025 03:48:06 +0000 (23:48 -0400)
commitf87a36b697ca7a9415fa8773a06d943d84db1b80
tree5b756a70488171d5209f2bf48582364333b284f2
parentd342dcddcf46ffdaa41d6736c9f7657fd54d4125
git-gui: use git-branch --show-current

git-gui relies upon the files back-end to determine the current branch.
This does not support the newer reftables backend.  But, git-branch has
long supported --show-current to get this same information regardless of
backend cahnged.  So teach git-gui to use git-branch --show-current.

Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
git-gui.sh