AmendHub

Download:

jcs

/

amend

/

amendments

/

29

committer: If there were no diffs, just close the window


jcs made amendment 29 over 2 years ago
--- committer.c Mon Oct 18 16:47:01 2021 +++ committer.c Thu Nov 11 13:42:25 2021 @@ -428,6 +428,11 @@ done_diffing: if (selected_files != NULL) free(selected_files); SetCursor(&arrow); + + if (committer->ndiffed_files == 0) { + warnx("No changes detected"); + browser_close_committer(committer->browser); + } } void