diff --git a/.commit_suggest_history.json b/.commit_suggest_history.json new file mode 100644 index 0000000..4a8d56e --- /dev/null +++ b/.commit_suggest_history.json @@ -0,0 +1,8 @@ +{ + "entries": [ + { + "message": "Feat(cmd, templater): scaffold propose to enable bug fix", + "timestamp": "2025-11-09T10:21:44.009545+07:00" + } + ] +} \ No newline at end of file diff --git a/cmd/propose.go b/cmd/propose.go index 96c1234..facc408 100644 --- a/cmd/propose.go +++ b/cmd/propose.go @@ -31,7 +31,7 @@ var ( Use: "propose", Short: "Propose commit messages from git diff", Long: `Analyze staged changes and suggest commit messages based on the context. - + When using --interactive (-i) or --suggestions (-s), multiple suggestions will be shown ranked by how well they match the context (file types, changes, purposes). @@ -75,7 +75,7 @@ func runPropose(cmd *cobra.Command, args []string) error { } if len(changes) == 0 { - return fmt.Errorf("no staged changes") + return fmt.Errorf("⚠️ no staged changes") } analyzer := analyzer.NewAnalyzer(changes, cfg)