)]}'
{
  "commit": "47d4676ac8a50b7d53e12ae200ed9b5661522129",
  "tree": "abbcb9f08753d501306d6efc020eea1bdbc38418",
  "parents": [
    "26bc0aaf99147cdf2d29cb6d831dfa72ec94b61b"
  ],
  "author": {
    "name": "Hariom Verma",
    "email": "hariom18599@gmail.com",
    "time": "Fri Aug 21 21:41:49 2020 +0000"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Fri Aug 28 13:52:51 2020 -0700"
  },
  "message": "pretty: refactor `format_sanitized_subject()`\n\nThe function \u0027format_sanitized_subject()\u0027 is responsible for\nsanitized subject line in pretty.c\ne.g.\nthe subject line\nthe-sanitized-subject-line\n\nIt would be a nice enhancement to `subject` atom to have the\nsame feature. So in the later commits, we plan to add this feature\nto ref-filter.\n\nRefactor `format_sanitized_subject()`, so it can be reused in\nref-filter.c for adding new modifier `sanitize` to \"subject\" atom.\n\nCurrently, the loop inside `format_sanitized_subject()` runs\nuntil `\\n` is found. But now, we stored the first occurrence\nof `\\n` in a variable `eol` and passed it in\n`format_sanitized_subject()`. And the loop runs upto `eol`.\n\nMentored-by: Christian Couder \u003cchriscool@tuxfamily.org\u003e\nMentored-by: Heba Waly \u003cheba.waly@gmail.com\u003e\nSigned-off-by: Hariom Verma \u003chariom18599@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2a3d46bf42fea1d375eb1b29e52ee1caaa0372a0",
      "old_mode": 33188,
      "old_path": "pretty.c",
      "new_id": "7a7708a0ea707ac58f1961a65b40fa89ea8631d3",
      "new_mode": 33188,
      "new_path": "pretty.c"
    },
    {
      "type": "modify",
      "old_id": "071f2fb8e449cee51c6556998b416c4fa7c8005a",
      "old_mode": 33188,
      "old_path": "pretty.h",
      "new_id": "7ce6c0b437b448b7f384ac3680de5c3e8983d8fb",
      "new_mode": 33188,
      "new_path": "pretty.h"
    }
  ]
}
