{
  "id": "git/merge-commit-no-message",
  "signature": "Merge commit message is empty. Aborting merge.",
  "signature_zh": "合并提交消息为空。正在中止合并。",
  "regex": "Merge commit message is empty",
  "domain": "git",
  "category": "config_error",
  "subcategory": null,
  "root_cause": "Git merge was attempted with an empty commit message, often due to a missing or misconfigured editor or hook.",
  "root_cause_type": "generic",
  "root_cause_zh": "尝试使用空提交消息进行合并，通常是由于缺少或配置错误的编辑器或钩子。",
  "versions": [
    {
      "version": "git 2.35.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "git 2.42.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    },
    {
      "version": "git 2.46.0",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "Setting GIT_EDITOR to 'true' or 'cat' may cause empty messages, as they produce no output.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Manually editing .git/MERGE_MSG to be empty and retrying will fail again.",
      "fail_rate": 0.95,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Run 'git config core.editor nano' to set a proper editor, then re-run 'git merge --continue'.",
      "success_rate": 0.85,
      "how": "Run 'git config core.editor nano' to set a proper editor, then re-run 'git merge --continue'.",
      "condition": "",
      "sources": []
    },
    {
      "action": "Use 'git merge --no-edit' to auto-generate a default merge message.",
      "success_rate": 0.9,
      "how": "Use 'git merge --no-edit' to auto-generate a default merge message.",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [
    "Run 'git config core.editor nano' to set a proper editor, then re-run 'git merge --continue'.",
    "Use 'git merge --no-edit' to auto-generate a default merge message."
  ],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": "https://git-scm.com/docs/git-merge",
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.82,
  "fix_success_rate": 0.88,
  "resolvable": "true",
  "first_seen": "2024-03-20",
  "last_confirmed": "2024-06-01",
  "last_updated": "2024-06-01",
  "evidence_count": 1,
  "tags": [],
  "locale": "en",
  "aliases": []
}