Skip to content

refactor: align separator length with commit message - #11

Merged
VioletsOleander merged 1 commit into
mainfrom
refa
May 25, 2026
Merged

refactor: align separator length with commit message#11
VioletsOleander merged 1 commit into
mainfrom
refa

Conversation

@VioletsOleander

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings May 25, 2026 04:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the GitCommitItem logging output to size the visual separator based on the generated commit message length, improving readability of the logged commit message preview.

Changes:

  • Replace the fixed 60-character separator with a separator whose length matches len(commit_msg).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@VioletsOleander
VioletsOleander merged commit fe21dbf into main May 25, 2026
3 checks passed
@VioletsOleander
VioletsOleander deleted the refa branch May 25, 2026 04:57

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the commit message logging to use a dynamic separator length based on the length of the commit message. Feedback was provided regarding potential visual alignment issues when using len() with multi-byte characters and the impact of logging metadata on multi-line output alignment.

Comment thread src/vanillian/commit/item.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants