Insert dummy commit message

This commit is contained in:
Matthias Beyer 2016-07-29 16:20:57 +02:00
parent be34dddf87
commit 39c3e3f7e0

View file

@ -9,14 +9,15 @@ use vcs::git::result::Result;
use vcs::git::action::StoreAction; use vcs::git::action::StoreAction;
pub fn commit_interactive(config: &Value) -> bool { pub fn commit_interactive(config: &Value) -> bool {
unimplemented!() warn!("Interactive committing not yet supported, using dummy commit message");
false
} }
pub fn commit_message(config: &Value, action: StoreAction) -> String { pub fn commit_message(config: &Value, action: StoreAction) -> String {
if commit_interactive(config) { if commit_interactive(config) {
unimplemented!() unimplemented!()
} else { } else {
unimplemented!() String::from("Dummy commit")
} }
} }