jesseduffield.lazygit/pkg/commands
Joaquin Hui Gomez 7c0a56bb90 fix: use correct empty tree hash for SHA-256 repos
Detect the repository's object format by checking the commit hash
length and use the appropriate empty tree commit hash. SHA-256 repos
use 64-character hashes and a different empty tree hash than SHA-1,
which caused the initial commit to show no files in the Commit pane.

Closes #5385
2026-03-29 13:04:45 +01:00
..
git_commands Improve performance for discarding range selection of many files 2026-03-27 14:34:47 +01:00
git_config Enable errorlint linter, and fix warnings 2025-06-30 18:30:11 +02:00
hosting_service feat: add Codeberg as a supported git hosting service 2025-12-21 14:10:59 +01:00
models fix: use correct empty tree hash for SHA-256 repos 2026-03-29 13:04:45 +01:00
oscommands Suppress output from background fetch 2025-11-15 18:27:18 +01:00
patch Fix selection after staging an added line 2026-03-19 16:57:53 +01:00
testdata Support opening lazygit in a submodule 2019-05-12 17:59:49 +10:00
git.go Remove go-git repo from GitCommon 2026-03-27 14:08:07 +01:00
git_cmd_obj_builder.go Remove ICmdObj interface 2025-05-01 15:21:37 +02:00
git_cmd_obj_runner.go Enable intrange linter, and fix warnings 2025-06-30 18:30:11 +02:00