1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-03 00:57:52 +02:00
Files
lazygit/pkg/commands/git_commands
Stefan Haller 03abdfcfe2 Fix the CurrentBranchName function
The function would return "head/branchname" when there was either a tag or a
remote with the same name.

While fixing this we slightly change the semantic of the function (and of
determineCheckedOutBranchName, which calls it): for a detached head it now
returns an empty string rather than the commit hash. I actually think this is
better.
2025-06-30 16:08:03 +02:00
..
2024-04-12 08:33:47 +02:00
2024-04-12 08:33:47 +02:00
2025-06-30 16:08:03 +02:00
2025-05-01 15:21:37 +02:00
2025-05-01 15:21:37 +02:00
2023-10-08 18:45:36 +02:00
2025-05-06 09:43:26 +02:00
2025-05-01 15:21:37 +02:00
2025-05-01 15:21:37 +02:00
2025-05-01 15:21:37 +02:00
2025-05-01 15:21:37 +02:00
2025-05-01 15:21:37 +02:00
2025-05-01 15:21:37 +02:00
2025-05-01 15:21:37 +02:00
2024-01-10 09:18:38 +01:00
2025-05-01 15:21:37 +02:00