proj/gagit:main commit in: /
MichaŠGórny <[email protected]> Wed, 05 Aug 2026 11:34:22 +0000 (UTC)
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1785928221.75faebbb682a7bd37a72f870e3e4c43d91fabc0c.mgorny@gentoo> |
commit: 75faebbb682a7bd37a72f870e3e4c43d91fabc0c
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 5 11:10:21 2026 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 5 11:10:21 2026 +0000
URL: https://gitweb.gentoo.org/proj/gagit.git/commit/?id=75faebbb
Detect failure from the editor
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
gagit | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gagit b/gagit
index e63924b..e750b29 100755
--- a/gagit
+++ b/gagit
@@ -260,7 +260,7 @@ main() {
${template}
EOF
- ${editor} "${tempdir}/message"
+ ${editor} "${tempdir}/message" || die "Editor failed"
title=
description=
local line nl=$'\n'