l10n: sv.po: Update Swedish translation (3288t0f0u)
[gitweb.git] / t / helper / test-ref-store.c
index d846c88ed26fb985af3cb6c9c03ec978069063a4..7120634b04733bb8abe1f0622f0e1e9c8280b643 100644 (file)
@@ -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;
 }