Commit Diff


commit - 6c1844f6c7853b50d214090d982e46b676e1e53e
commit + b006047e8a8af017974aa8fd9759431b3dbaad12
blob - 3ff7966671a23d56ded6a78dd6a09563ef0e19fe
blob + 7486c8d8449c19acbcdb06d976a6dbec5a1e8025
--- got/got.c
+++ got/got.c
@@ -4498,7 +4498,7 @@ histedit_edit_list_retry(struct got_histedit_list *his
 	const struct got_error *err = NULL;
 	int resp = ' ';
 
-	while (resp != 'c' && resp != 'r' && resp != 'q') {
+	while (resp != 'c' && resp != 'r' && resp != 'a') {
 		printf("%s: %s\n(c)ontinue editing, (r)estart editing, "
 		    "or (a)bort: ", getprogname(), errmsg);
 		resp = getchar();