diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2025-07-01 21:22:33 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-07-01 14:58:25 -0700 |
commit | 6866b422608ebfd25ba65935fd2d5378029ec3ea (patch) | |
tree | 86d74631291fac66cae6fd78dd459dabd1b0effe /builtin/commit.c | |
parent | c470ac4ac41b02994f2f10b4134c40661d7435be (diff) |
t1007: 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, 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.c')
0 files changed, 0 insertions, 0 deletions