Skip to content

fix(git): commit.verboseオプションを削除#1147

Merged
ncaq merged 1 commit into
masterfrom
conflict-commitlint
May 25, 2026
Merged

fix(git): commit.verboseオプションを削除#1147
ncaq merged 1 commit into
masterfrom
conflict-commitlint

Conversation

@ncaq
Copy link
Copy Markdown
Owner

@ncaq ncaq commented May 25, 2026

verboseで変更セットをバッファに入れておくことは、
GitHub Copilot Completeの精度を向上させます。

しかし現在commitlintがdiff部分に反応して行の長さをチェックしてしまうという問題と衝突します。
{body,footer}-max-line-length may fail when git commit --verbose · Issue #437 · conventional-changelog/commitlint

少なくとも解決策の、
fix(read): strip verbose diff from commit message by enaktes9-hub · Pull Request #4770 · conventional-changelog/commitlint
がマージされるまでは、
verboseオプションを削除します。

`verbose`で変更セットをバッファに入れておくことは、
GitHub Copilot Completeの精度を向上させます。

しかし現在commitlintがdiff部分に反応して行の長さをチェックしてしまうという問題と衝突します。
[{body,footer}-max-line-length may fail when git commit --verbose · Issue #437 · conventional-changelog/commitlint](conventional-changelog/commitlint#437)

少なくとも解決策の、
[fix(read): strip verbose diff from commit message by enaktes9-hub · Pull Request #4770 · conventional-changelog/commitlint](conventional-changelog/commitlint#4770)
がマージされるまでは、
`verbose`オプションを削除します。
@ncaq ncaq self-assigned this May 25, 2026
@ncaq ncaq added the Type: Bug Bug or Bug fixes label May 25, 2026
Copy link
Copy Markdown
Contributor

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

home/core/git.nixからcommit.verbose = true;を削除する変更です。

コミットメッセージで削除理由が明確に説明されており、commitlintが--verbose時のdiff部分に反応して行長チェックに失敗する問題(conventional-changelog/commitlint#437)との衝突を回避するための妥当な対応です。修正PR(conventional-changelog/commitlint#4770)がマージされるまでの暫定措置という方針も明示されています。

単一行の設定削除でリスクはなく、Nixの構文・周辺設定への影響もありません。指摘事項はありません。

Review metadata
  • Reviewed commit: 89a8221
  • PR: #1147
  • kyosei: 3.4.4
  • kyosei-action: 2.1.2
  • Claude Code: 2.1.142
  • Model: claude-opus-4-7
  • Execution: GitHub Actions (run)

@github-actions
Copy link
Copy Markdown

nvd diff: seminar (base: master)

Version changes

Closure size: 4776 -> 4776 (8 paths added, 8 paths removed, delta +0, disk usage -16B).

@ncaq ncaq enabled auto-merge May 25, 2026 02:52
@ncaq ncaq merged commit d40050b into master May 25, 2026
10 checks passed
@ncaq ncaq deleted the conflict-commitlint branch May 25, 2026 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Bug Bug or Bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant