Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
l10n: sv.po: Update Swedish translation (3288t0f0u)
[gitweb.git]
/
t
/
helper
/
test-ref-store.c
diff --git
a/t/helper/test-ref-store.c
b/t/helper/test-ref-store.c
index d846c88ed26fb985af3cb6c9c03ec978069063a4..7120634b04733bb8abe1f0622f0e1e9c8280b643 100644
(file)
--- a/
t/helper/test-ref-store.c
+++ b/
t/helper/test-ref-store.c
@@
-135,7
+135,7
@@
static int cmd_resolve_ref(struct ref_store *refs, const char **argv)
ref = refs_resolve_ref_unsafe(refs, refname, resolve_flags,
&oid, &flags);
- printf("%s %s 0x%x\n", oid_to_hex(&oid), ref, flags);
+ printf("%s %s 0x%x\n", oid_to_hex(&oid), ref
? ref : "(null)"
, flags);
return ref ? 0 : 1;
}