[GH-ISSUE #18] [bug] log output corrupting generated commit output #15

Closed
opened 2026-02-27 19:20:54 +03:00 by kerem · 2 comments
Owner

Originally created by @RyanHope on GitHub (Nov 16, 2025).
Original GitHub issue: https://github.com/f/git-rewrite-commits/issues/18

This chunk of code below is generating text that is getting included in the commit message.

      if (provider === 'ollama') {
        console.log(chalk.blue('ℹ️  Using Ollama provider at ' + (options.ollamaUrl || 'http://localhost:11434')));
        console.log(chalk.gray('   Make sure Ollama is running: ollama serve'));
      }

Not a deal breaker when testing from the cmdline but makes the githooks useless.

Originally created by @RyanHope on GitHub (Nov 16, 2025). Original GitHub issue: https://github.com/f/git-rewrite-commits/issues/18 This chunk of code below is generating text that is getting included in the commit message. ``` if (provider === 'ollama') { console.log(chalk.blue('ℹ️ Using Ollama provider at ' + (options.ollamaUrl || 'http://localhost:11434'))); console.log(chalk.gray(' Make sure Ollama is running: ollama serve')); } ``` Not a deal breaker when testing from the cmdline but makes the githooks useless.
kerem 2026-02-27 19:20:54 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@f commented on GitHub (Nov 16, 2025):

Thank you!

<!-- gh-comment-id:3539448034 --> @f commented on GitHub (Nov 16, 2025): Thank you!
Author
Owner

@f commented on GitHub (Nov 16, 2025):

Fixed on v0.7.1

<!-- gh-comment-id:3539465994 --> @f commented on GitHub (Nov 16, 2025): Fixed on v0.7.1
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-rewrite-commits#15
No description provided.