We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
:
1 parent 341a5c3 commit c6ee39aCopy full SHA for c6ee39a
src/popups/conventional_commit.rs
@@ -34,19 +34,19 @@ enum CommitType {
34
#[strum(to_string = "feat")]
35
Feature,
36
Fix,
37
+ Wip,
38
+ Debug,
39
+ Test,
40
Docs,
41
Style,
42
#[strum(to_string = "perf")]
43
Performance,
- Test,
- Build,
- CI,
44
Chore,
45
Revert,
46
Initial,
47
Bump,
48
- Wip,
49
- Debug,
+ Build,
+ CI,
50
}
51
52
enum MoreInfoCommit {
@@ -568,7 +568,8 @@ impl ConventionalCommitPopup {
568
self.queue.push(crate::queue::InternalEvent::OpenCommit);
569
self.queue.push(
570
crate::queue::InternalEvent::AddCommitMessage(format!(
571
- "{emoji} {commit_type}: {short_msg}"
+ "{emoji} {commit_type}{} {short_msg}",
572
+ if short_msg.is_empty() { "" } else { ":" },
573
)),
574
);
575
self.hide();
0 commit comments