Skip to content

Commit e91a1b1

Browse files
committed
Merge branch 'cc/test-ref-store-typofix'
An obvious typo in an assertion error message has been fixed. * cc/test-ref-store-typofix: helper/test-ref-store: fix "new-sha1" vs "old-sha1" typo
2 parents 5f8b86d + 3c27e2e commit e91a1b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/helper/test-ref-store.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ static int cmd_update_ref(struct ref_store *refs, const char **argv)
233233
{
234234
const char *msg = notnull(*argv++, "msg");
235235
const char *refname = notnull(*argv++, "refname");
236-
const char *new_sha1_buf = notnull(*argv++, "old-sha1");
236+
const char *new_sha1_buf = notnull(*argv++, "new-sha1");
237237
const char *old_sha1_buf = notnull(*argv++, "old-sha1");
238238
unsigned int flags = arg_flags(*argv++, "flags");
239239
struct object_id old_oid;

0 commit comments

Comments
 (0)