Let the commit_message() helper always return a proper commit msg

This commit is contained in:
Matthias Beyer 2016-07-27 13:06:12 +02:00
parent ba1b4682d7
commit 5615ad12df

View file

@ -12,7 +12,7 @@ pub fn commit_interactive(config: &Value) -> bool {
unimplemented!() unimplemented!()
} }
pub fn commit_message(config: &Value, action: StoreAction) -> Option<String> { pub fn commit_message(config: &Value, action: StoreAction) -> String {
if commit_interactive(config) { if commit_interactive(config) {
unimplemented!() unimplemented!()
} else { } else {