From 243406557be30e6c950e3cf9f13c6f5edbfd9b51 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 1 Oct 2022 00:46:49 +0200 Subject: Fix commit info --- src/ipcMain.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ipcMain.ts') diff --git a/src/ipcMain.ts b/src/ipcMain.ts index 8ec3746..1887c2a 100644 --- a/src/ipcMain.ts +++ b/src/ipcMain.ts @@ -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 => { -- cgit