Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'cc/test-ref-store-typofix'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 5 Feb 2019 22:26:12 +0000
(14:26 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 5 Feb 2019 22:26:13 +0000
(14:26 -0800)
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
t/helper/test-ref-store.c
patch
|
blob
|
history
raw
(from parent 1:
5f8b86d
)
diff --git
a/t/helper/test-ref-store.c
b/t/helper/test-ref-store.c
index e9e0541276c50d1739b6d39f2c01ba8ecb782adc..799fc00aa15b1e4cfe9fe8a6d32ebc2063003cb4 100644
(file)
--- 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;