)]}'
{
  "commit": "770fedaf9fb156bd8c18da41770eac0cb63fba63",
  "tree": "7187ab68ef185ddc2f5351764e9dafa4ee6e2f2e",
  "parents": [
    "ce93a4c6127abdf1ad9eacd537edd1c571a18e41"
  ],
  "author": {
    "name": "Ævar Arnfjörð Bjarmason",
    "email": "avarab@gmail.com",
    "time": "Thu Jul 01 12:51:28 2021 +0200"
  },
  "committer": {
    "name": "Junio C Hamano",
    "email": "gitster@pobox.com",
    "time": "Thu Jul 01 12:32:22 2021 -0700"
  },
  "message": "string-list.[ch]: add a string_list_init_{nodup,dup}()\n\nIn order to use the new \"memcpy() a \u0027blank\u0027 struct on the stack\"\npattern for string_list_init(), and to make the macro initialization\nconsistent with the function initialization introduce two new\nstring_list_init_{nodup,dup}() functions. These are like the old\nstring_list_init() when called with a false and true second argument,\nrespectively.\n\nI think this not only makes things more consistent, but also easier to\nread. I often had to lookup what the \", 0)\" or \", 1)\" in these\ninvocations meant, now it\u0027s right there in the function name, and\ncorresponds to the macros.\n\nA subsequent commit will convert existing API users to this pattern,\nbut as this is a very common API let\u0027s leave a compatibility function\nin place for later removal. This intermediate state also proves that\nthe compatibility function works.\n\nSigned-off-by: Ævar Arnfjörð Bjarmason \u003cavarab@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a917955fbd8d18956ae593b5fa190042e13db644",
      "old_mode": 33188,
      "old_path": "string-list.c",
      "new_id": "43576ad12653943ac436443086b6cbf5d72279c7",
      "new_mode": 33188,
      "new_path": "string-list.c"
    },
    {
      "type": "modify",
      "old_id": "521b9c0748ddcc192009984628fd83f46dc192d7",
      "old_mode": 33188,
      "old_path": "string-list.h",
      "new_id": "0d6b46923968e54179ab62eaf086f851eb6c5b41",
      "new_mode": 33188,
      "new_path": "string-list.h"
    }
  ]
}
