jesseduffield.lazygit/pkg/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
..
git_commands Fix the CurrentBranchName function 2025-06-30 16:08:03 +02:00
git_config Drop the git config cache when getting focus 2025-03-20 11:50:28 +01:00
hosting_service URL encode gitlab brackets to make consistent with branch names 2025-03-12 09:04:04 +11:00
models Add unambigious refs/ prefix to all stash references 2025-06-15 16:14:59 +02:00
oscommands Add credential prompts for PKCS11-based SSH keys 2025-06-20 08:23:59 +02:00
patch Remove utils.Clamp, use lo.Clamp instead 2025-04-21 18:03:18 +02:00
testdata Support opening lazygit in a submodule 2019-05-12 17:59:49 +10:00
git.go Use WorkingTreeState instead of RebaseMode in CommitLoader 2025-04-20 15:53:17 +02:00
git_cmd_obj_builder.go Remove ICmdObj interface 2025-05-01 15:21:37 +02:00
git_cmd_obj_runner.go Remove ICmdObj interface 2025-05-01 15:21:37 +02:00