Skip to content

Commit e32148a

Browse files
committed
sha1_name.c: fix error message for get_sha1_with_context
Signed-off-by: Jeff Hostetler <[email protected]>
1 parent bdc997d commit e32148a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sha1_name.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1646,6 +1646,6 @@ void maybe_die_on_misspelt_object_name(const char *name, const char *prefix)
16461646
int get_oid_with_context(const char *str, unsigned flags, struct object_id *oid, struct object_context *oc)
16471647
{
16481648
if (flags & GET_OID_FOLLOW_SYMLINKS && flags & GET_OID_ONLY_TO_DIE)
1649-
die("BUG: incompatible flags for get_sha1_with_context");
1649+
die("BUG: incompatible flags for get_oid_with_context");
16501650
return get_oid_with_context_1(str, flags, NULL, oid, oc);
16511651
}

0 commit comments

Comments
 (0)