From cb9e96dfd1e839ab2b281ca32efb0a2af8fa3fa1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sat, 22 Jan 2022 18:15:24 +0100 Subject: M save.exe M save.pl M save.pl~ --- save.exe | Bin 276184 -> 276252 bytes save.pl | 2 +- save.pl~ | 5 +++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/save.exe b/save.exe index 8a71964..d9a0454 100644 Binary files a/save.exe and b/save.exe differ diff --git a/save.pl b/save.pl index b771bb4..d90e736 100644 --- a/save.pl +++ b/save.pl @@ -82,4 +82,4 @@ chain_atom_x(C, A0, A) :- ). commit(Msg) :- - process_create(path(git), ['commit', '-m', Msg], []). + process_create(path(git), ['commit', '-m', Msg], []); true. diff --git a/save.pl~ b/save.pl~ index 1a720c4..d9881e3 100644 --- a/save.pl~ +++ b/save.pl~ @@ -80,3 +80,8 @@ chain_atom_x(C, A0, A) :- chain_atom_x(C, A3, A) ; A = A0 ). + +commit(Msg) :- + process_create(path(git), ['commit', '-m', Msg], []) + ; + true. -- cgit v1.2.3