Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Commit

Permalink
display current task name when adding log entry
Browse files Browse the repository at this point in the history
  • Loading branch information
maxvw committed Feb 7, 2021
1 parent fe76591 commit 62a1610
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/commands/log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit 62a1610

Please sign in to comment.