Git 2.7.6
[gitweb.git] / builtin / shortlog.c
index 007cc66a036429d602cf7afe19c163fcf6d06395..35ebd17f80d7784f17023a4f76ac71e1317a94d0 100644 (file)
@@ -129,7 +129,7 @@ void shortlog_add_commit(struct shortlog *log, struct commit *commit)
        }
        if (!author) {
                warning(_("Missing author: %s"),
-                   sha1_to_hex(commit->object.sha1));
+                   oid_to_hex(&commit->object.oid));
                return;
        }
        if (log->user_format) {