object-name.c: rename from sha1-name.c

Generalize the last remnants of "sha" and "sha1" in this file and rename
it to reflect that we're not just able to handle SHA-1 these days.

We need to update one test to check for an updated error string.

Signed-off-by: Martin Ågren <martin.agren@gmail.com>
Reviewed-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Martin Ågren
2020-12-31 12:56:20 +01:00
committed by Junio C Hamano
parent 71ca53e812
commit 1e6771e504
4 changed files with 11 additions and 11 deletions

1954
object-name.c Normal file

File diff suppressed because it is too large Load Diff