summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-01-22 18:17:31 +0100
committerJohn Ankarström <john@ankarstrom.se>2022-01-22 18:17:31 +0100
commit43cce08cf13573930315ae09683b846b8212e5f0 (patch)
tree3f38e7066829f6d993d3fff66800d6c3b7448822
parent0ca182ce86cd1a7e60bd2260ad5cae92aa59626c (diff)
downloadsave-43cce08cf13573930315ae09683b846b8212e5f0.tar.gz
M save.pl
M save.pl~
-rw-r--r--save.pl3
-rw-r--r--save.pl~5
2 files changed, 4 insertions, 4 deletions
diff --git a/save.pl b/save.pl
index 5303d3a..bb3d7af 100644
--- a/save.pl
+++ b/save.pl
@@ -83,6 +83,7 @@ chain_atom_x(C, A0, A) :-
commit(Msg) :-
setup_call_cleanup(
- process_create(path(git), ['commit', '-m', Msg], []),
+ process_create(path(git), ['commit', '-m', Msg],
+ [detached(true)]),
true,
true).
diff --git a/save.pl~ b/save.pl~
index 1b50fff..801b1c9 100644
--- a/save.pl~
+++ b/save.pl~
@@ -83,7 +83,6 @@ chain_atom_x(C, A0, A) :-
commit(Msg) :-
setup_call_cleanup(
- process_create(path(git), ['commit', '-m', Msg], []),
+ process_create(path(git), ['commit', '-m', Msg], [detached(true)]),
true,
- true
- ).
+ true).