lazygit/pkg/commands/git_commands
Stefan Haller e27bc15bbd Store Commit.Hash by pointer (kept in a pool of hashes)
This in itself is not an improvement, because hashes are unique (they are shared
between real commits and rebase todos, but there are so few of those that it
doesn't matter). However, it becomes an improvement once we also store parent
hashes in the same pool; but the real motivation for this change is to also
reuse the hash pointers in Pipe objects later in the branch. This will be a big
win because in a merge-heavy git repo there are many more Pipe instances than
commits.
2025-04-29 14:57:15 +02:00
..
bisect.go
bisect_info.go
blame.go
branch.go Add new command "Move commits to new branch" 2025-04-21 18:12:50 +02:00
branch_loader.go Remove canUsePushTrack parameter of obtainBranches function 2025-04-09 10:40:52 +02:00
branch_loader_test.go Remove canUsePushTrack parameter of obtainBranches function 2025-04-09 10:40:52 +02:00
branch_test.go Allow deleting a range selection of branches 2024-12-01 10:59:54 +01:00
commit.go Support range selection for reverting commits 2025-04-20 16:03:06 +02:00
commit_file_loader.go Rename Name to Path in File and CommitFile 2025-03-20 12:31:34 +01:00
commit_file_loader_test.go Rename Name to Path in File and CommitFile 2025-03-20 12:31:34 +01:00
commit_loader.go Store Commit.Hash by pointer (kept in a pool of hashes) 2025-04-29 14:57:15 +02:00
commit_loader_test.go Store Commit.Hash by pointer (kept in a pool of hashes) 2025-04-29 14:57:15 +02:00
commit_test.go Commit without pre-commit hooks is independent on prefix 2025-03-22 11:04:28 +01:00
common.go
config.go fix: Make tag operation use GPG helper to run signing in sub-process 2025-03-24 08:41:58 +01:00
custom.go Add runCommand function to Go template syntax 2025-04-09 10:44:36 +02:00
deps_test.go Remove unused functions 2025-03-03 21:23:29 +01:00
diff.go Combine GetPathDiff and GetAllDiff into one command (GetDiff) 2025-01-07 17:46:51 +01:00
file.go Fix nvim-remote commands for fish shell 2025-04-27 20:12:11 +02:00
file_loader.go Rename Name to Path in File and CommitFile 2025-03-20 12:31:34 +01:00
file_loader_test.go Rename Name to Path in File and CommitFile 2025-03-20 12:31:34 +01:00
file_test.go
flow.go
flow_test.go Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
git_command_builder.go Add worktree option to fast forwarding operation 2025-01-02 16:52:24 +11:00
git_command_builder_test.go
main_branches.go Re-determine existing main branches if mainBranches config changed 2024-08-18 10:24:52 +02:00
patch.go Make Commit.Hash a getter for an unexported hash field 2025-04-29 14:57:15 +02:00
rebase.go Make Commit.Hash a getter for an unexported hash field 2025-04-29 14:57:15 +02:00
rebase_test.go Store Commit.Hash by pointer (kept in a pool of hashes) 2025-04-29 14:57:15 +02:00
reflog_commit_loader.go Store Commit.Hash by pointer (kept in a pool of hashes) 2025-04-29 14:57:15 +02:00
reflog_commit_loader_test.go Store Commit.Hash by pointer (kept in a pool of hashes) 2025-04-29 14:57:15 +02:00
remote.go Allow deleting a range selection of branches 2024-12-01 10:59:54 +01:00
remote_loader.go Update to go 1.24 2025-03-08 14:53:54 -05:00
repo_paths.go Use filepath instead of path for file path operations 2024-08-18 10:24:52 +02:00
repo_paths_test.go Use filepath instead of path for file path operations 2024-08-18 10:24:52 +02:00
stash.go Replace --include-untracked with -u in stash show command for compatibility and update failing tests 2025-02-22 08:17:38 +11:00
stash_loader.go
stash_loader_test.go Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
stash_test.go Replace --include-untracked with -u in stash show command for compatibility and update failing tests 2025-02-22 08:17:38 +11:00
status.go Make WorkingTreeState a struct, and add cherry-picking and reverting states 2025-04-20 15:53:17 +02:00
submodule.go feat(submodules): add method to bulk init and update submodules 2025-03-22 09:54:32 +01:00
sync.go Fix checking out a different branch while pushing a branch for the first time 2025-01-26 10:22:19 +01:00
sync_test.go Fix checking out a different branch while pushing a branch for the first time 2025-01-26 10:22:19 +01:00
tag.go fix: Make tag operation use GPG helper to run signing in sub-process 2025-03-24 08:41:58 +01:00
tag_loader.go
tag_loader_test.go Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
version.go
version_test.go
working_tree.go Escape special characters when git-ignoring files 2025-04-13 18:25:24 +10:00
working_tree_test.go Rename Name to Path in File and CommitFile 2025-03-20 12:31:34 +01:00
worktree.go
worktree_loader.go Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
worktree_loader_test.go Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00