From 995593a3b7abefa150074f960caf32783e6a30ed Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 8 Sep 2016 17:19:24 +0200 Subject: [PATCH] Add string input --- libimagstorestdhook/src/vcs/git/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libimagstorestdhook/src/vcs/git/config.rs b/libimagstorestdhook/src/vcs/git/config.rs index 84362563..67f2335d 100644 --- a/libimagstorestdhook/src/vcs/git/config.rs +++ b/libimagstorestdhook/src/vcs/git/config.rs @@ -72,7 +72,7 @@ pub fn commit_message(repo: &Repository, config: &Value, action: StoreAction) -> if commit_with_editor(config) { unimplemented!() } else { - unimplemented!() + Ok(ask_string("Commit Message", None, false, false, None, "> ")) } } else { Ok(String::from(commit_default_msg(config)))