File osc-force-commit-msg.patch of Package osc
Index: osc/commandline.py
===================================================================
--- osc/commandline.py (revision 2480)
+++ osc/commandline.py (working copy)
@@ -925,7 +925,8 @@
pacs = findpacs(args)
for p in pacs:
- msg = ''
+ if (not opts.message) and not (opts.file):
+ sys.exit('No commit message supplied.')
if opts.message:
msg = opts.message
elif opts.file: