Insert dummy commit message
This commit is contained in:
parent
be34dddf87
commit
39c3e3f7e0
1 changed files with 3 additions and 2 deletions
|
@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue