mirror of
https://github.com/MrBeanCpp/MIT.git
synced 2026-04-01 01:40:11 +08:00
fix:去除current_head()返回值中的\n
\n会导致文件写入失败
This commit is contained in:
@@ -59,10 +59,7 @@ pub fn handle_command() {
|
||||
Command::Rm { files, cached } => {
|
||||
println!("rm: {:?}, cached= {}", files, cached);
|
||||
}
|
||||
Command::Commit {
|
||||
message,
|
||||
allow_empty,
|
||||
} => {
|
||||
Command::Commit { message, allow_empty, } => {
|
||||
commit(message, allow_empty);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user