diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2025-07-01 21:22:34 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-07-01 14:58:25 -0700 |
commit | f957ce078f61266b3212b88d9c357a1b7f071a6f (patch) | |
tree | 37c4c955be13a3bb2e330d8653d528581b6d5bb2 /builtin/commit-graph.c | |
parent | 6866b422608ebfd25ba65935fd2d5378029ec3ea (diff) |
t4042: choose the built-in hash outside of a repo
Right now, the built-in default hash is always SHA-1, but that will
change in a future commit. Instead of assuming that operating outside
of a repository will always use SHA-1, provide constants for both
algorithms and then simply ask test_oid for the built-in hash instead,
which will always be correct.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit-graph.c')
0 files changed, 0 insertions, 0 deletions