From 62a161023b80a00b69c30c28ad4621622602789b Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 7 Feb 2021 08:28:25 +0100 Subject: [PATCH] display current task name when adding log entry --- src/commands/log.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/log.rs b/src/commands/log.rs index c9d012a..1b124ae 100644 --- a/src/commands/log.rs +++ b/src/commands/log.rs @@ -29,6 +29,8 @@ pub fn exec<'a>( Some(task) => Some(task), }; + utils::info_msg_compact("Task:", &task.as_ref().unwrap().name); + // Either use the last commit message, or prompt the user for a message let last_commit = get_last_commit_message(); let message = if matches.is_present("commit") {