lazygit/pkg/commands
Stefan Haller 8d834e2eab Pack the models.Commit struct a little tighter
Change the base type of some of our enums from int to uint8, and reorder fields
for better packing. This reduces the size of models.Commit from 152 to 132 bytes
on my machine.

This doesn't improve overall memory usage significantly, but why not save a
little bit of memory if it's easy.
2025-04-29 14:57:15 +02:00
..
git_commands Store Commit.Parents in the pool too 2025-04-29 14:57:15 +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 Pack the models.Commit struct a little tighter 2025-04-29 14:57:15 +02:00
oscommands Add config for auto-forwarding branches after fetching 2025-04-21 18:06:09 +02:00
patch Remove utils.Clamp, use lo.Clamp instead 2025-04-21 18:03:18 +02:00
testdata
git.go Use WorkingTreeState instead of RebaseMode in CommitLoader 2025-04-20 15:53:17 +02:00
git_cmd_obj_builder.go Add config os.shellFunctionsFile 2025-04-07 14:35:40 +02:00
git_cmd_obj_runner.go Retry on index.lock error 2023-07-10 19:13:18 +10:00