summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-02-05 22:26:12 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-02-05 22:26:13 (GMT)
commite91a1b1ade3ea07bdf8cdd8cd4fa126caac12a36 (patch)
treedd591182853fedea1c81ffdc963784421040abf0 /t
parent5f8b86db94e789bc07258f98cc5ba25d18273d83 (diff)
parent3c27e2e05935248734cdb4d5220a0785d79b5ae6 (diff)
downloadgit-e91a1b1ade3ea07bdf8cdd8cd4fa126caac12a36.zip
git-e91a1b1ade3ea07bdf8cdd8cd4fa126caac12a36.tar.gz
git-e91a1b1ade3ea07bdf8cdd8cd4fa126caac12a36.tar.bz2
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
Diffstat (limited to 't')
-rw-r--r--t/helper/test-ref-store.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-ref-store.c b/t/helper/test-ref-store.c
index e9e0541..799fc00 100644
--- a/t/helper/test-ref-store.c
+++ b/t/helper/test-ref-store.c
@@ -233,7 +233,7 @@ static int cmd_update_ref(struct ref_store *refs, const char **argv)
{
const char *msg = notnull(*argv++, "msg");
const char *refname = notnull(*argv++, "refname");
- const char *new_sha1_buf = notnull(*argv++, "old-sha1");
+ const char *new_sha1_buf = notnull(*argv++, "new-sha1");
const char *old_sha1_buf = notnull(*argv++, "old-sha1");
unsigned int flags = arg_flags(*argv++, "flags");
struct object_id old_oid;