Add string input

This commit is contained in:
Matthias Beyer 2016-09-08 17:19:24 +02:00
parent 66d8b71bdf
commit 995593a3b7

View file

@ -72,7 +72,7 @@ pub fn commit_message(repo: &Repository, config: &Value, action: StoreAction) ->
if commit_with_editor(config) { if commit_with_editor(config) {
unimplemented!() unimplemented!()
} else { } else {
unimplemented!() Ok(ask_string("Commit Message", None, false, false, None, "> "))
} }
} else { } else {
Ok(String::from(commit_default_msg(config))) Ok(String::from(commit_default_msg(config)))