From bfee307194940514a8544c549c0a2ce87ca98c0b Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 1 Oct 2022 00:50:10 +0200 Subject: Fix commit info 2: Electric Boogaloo --- 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 1887c2a..9795ff1 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:%an-%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