Fix commit info

This commit is contained in:
Vendicated 2022-10-01 00:46:49 +02:00
parent 8161a07dba
commit 243406557b
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: EC781ADFB93EFFA3

View file

@ -84,7 +84,7 @@ ipcMain.handle(IpcEvents.OPEN_EXTERNAL, (_, url) => shell.openExternal(url));
ipcMain.handle(IpcEvents.GET_UPDATES, serializeErrors(async () => {
await git("fetch");
const res = await git("log", `HEAD...origin/main`, "--pretty=format:%h-%s");
const res = await git("log", `HEAD...origin/main`, "--pretty=format:%an-%h-%s");
const commits = res.stdout.trim();
return commits ? commits.split("\n").map(line => {