Fix commit info 2: Electric Boogaloo
This commit is contained in:
parent
243406557b
commit
bfee307194
|
@ -84,7 +84,7 @@ ipcMain.handle(IpcEvents.OPEN_EXTERNAL, (_, url) => shell.openExternal(url));
|
||||||
ipcMain.handle(IpcEvents.GET_UPDATES, serializeErrors(async () => {
|
ipcMain.handle(IpcEvents.GET_UPDATES, serializeErrors(async () => {
|
||||||
await git("fetch");
|
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();
|
const commits = res.stdout.trim();
|
||||||
return commits ? commits.split("\n").map(line => {
|
return commits ? commits.split("\n").map(line => {
|
||||||
|
|
Loading…
Reference in a new issue