{
  "id": "git/commit-message-too-long-warning",
  "signature": "warning: commit message exceeds 72 characters; might be truncated by some tools",
  "signature_zh": "警告：提交信息超过 72 个字符；某些工具可能会截断",
  "regex": "^warning: commit message exceeds 72 characters; might be truncated by some tools$",
  "domain": "git",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "Git's default commit message length limit (72 characters) is exceeded, but this is a warning, not an error.",
  "root_cause_type": "generic",
  "root_cause_zh": "Git 默认的提交信息长度限制（72 个字符）被超过，但这只是一个警告，不是错误。",
  "versions": [
    {
      "version": "git 2.20",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "git 2.35",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "git 2.42",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "The warning is a best practice; disabling it may cause issues with tools like email or changelog generators that expect short lines.",
      "fail_rate": 0.4,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "This only suppresses the warning but doesn't fix the underlying issue; long messages may still be truncated by external tools.",
      "fail_rate": 0.3,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Shorten the commit message to under 72 characters, or use a multi-line commit message with a summary line under 50 characters: git commit -m 'Short summary' -m 'Longer body here...'",
      "success_rate": 0.95,
      "how": "Shorten the commit message to under 72 characters, or use a multi-line commit message with a summary line under 50 characters: git commit -m 'Short summary' -m 'Longer body here...'",
      "condition": "",
      "sources": []
    },
    {
      "action": "If you must keep the long message, configure git to allow longer lines: git config advice.commitMessageLength false (this suppresses the warning but doesn't guarantee tool compatibility).",
      "success_rate": 0.7,
      "how": "If you must keep the long message, configure git to allow longer lines: git config advice.commitMessageLength false (this suppresses the warning but doesn't guarantee tool compatibility).",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Shorten the commit message to under 72 characters, or use a multi-line commit message with a summary line under 50 characters: git commit -m 'Short summary' -m 'Longer body here...'",
    "If you must keep the long message, configure git to allow longer lines: git config advice.commitMessageLength false (this suppresses the warning but doesn't guarantee tool compatibility)."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://git-scm.com/docs/git-commit#_discussion",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.95,
  "resolvable": "true",
  "first_seen": "2023-07-18",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}