)]}'
{
  "commit": "1eff20f6f64d00f588c218e265f8d3a81a8fb00b",
  "tree": "24a030c60a9b94f6497f6c290b2dacc39b458f9f",
  "parents": [
    "82708b3a3a7114c6cd11a11e525a8d33118dbf61"
  ],
  "author": {
    "name": "Paul Smith",
    "email": "psmith@gnu.org",
    "time": "Thu Jan 11 10:05:27 2024 -0500"
  },
  "committer": {
    "name": "Paul Smith",
    "email": "psmith@gnu.org",
    "time": "Sun Jan 28 14:20:47 2024 -0500"
  },
  "message": "Support conditional modifiers on all assignment operators\n\nRework the single \"?\u003d\" operator to instead allow a \"?\" modifier to be\nprepended to ANY assignment operator.  If \"?\" is given then the\nvariable is assigned (using whatever operator comes next) if and only\nif the variable is not already defined.  If it is defined then no\naction is taken (the right-hand side is not expanded, etc.)\n\n* NEWS: Announce this new feature.\n* doc/make.texi: Modify the documentation around assignment operators.\n* src/variable.h: Remove the f_conditional variable flavor.\n(do_variable_definition): Add an argument specifying conditional.\n* src/variable.c (parse_variable_definition): Use the existing flag\n\"conditional\" to remember if we saw \"?\" rather than the flavor.\nWhen we see \"?\" skip it and continue trying to parse an assignment.\n(try_variable_definition): Pass condition to do_variable_definition().\n(initialize_file_variables): Ditto.\n(do_variable_definition): Check for conditional up-front: quit if set.\nRemove handling of obsolete f_conditional flavor.\n* src/read.c (eval_makefile): MAKEFILE_LIST is not conditional.\n(do_define): Unset conditional for define with no operator.  Pass the\nconditional flag to do_variable_definition().\n(construct_include_path): .INCLUDE_DIRS is not conditional.\n* src/load.c (load_file): .LOADED is not conditional.\n* tests/scripts/variables/conditional: Add new tests.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7d296ac74db1998d8b35ebd64f05a17aa46f5e07",
      "old_mode": 33188,
      "old_path": "NEWS",
      "new_id": "676794d6c6177957f0c02f17f5f20a64784d73f1",
      "new_mode": 33188,
      "new_path": "NEWS"
    },
    {
      "type": "modify",
      "old_id": "21bee9873565dac4dbd633d8cd1e0d6eb880fbf6",
      "old_mode": 33188,
      "old_path": "doc/make.texi",
      "new_id": "b2e0141ccb641a2f11170316434389ef6af2d0d9",
      "new_mode": 33188,
      "new_path": "doc/make.texi"
    },
    {
      "type": "modify",
      "old_id": "b76ddb0138e9f30057f4c1a87d8690bff4cdfef9",
      "old_mode": 33188,
      "old_path": "src/load.c",
      "new_id": "626c34f0665f1960a7b81a87da1bdb2e53c857e9",
      "new_mode": 33188,
      "new_path": "src/load.c"
    },
    {
      "type": "modify",
      "old_id": "a6ee0450645b6474276aada1364a9672178822be",
      "old_mode": 33188,
      "old_path": "src/read.c",
      "new_id": "069f9c3032361c0ae6120b20f112539d285a15fa",
      "new_mode": 33188,
      "new_path": "src/read.c"
    },
    {
      "type": "modify",
      "old_id": "8b63df2d82850b1dfd2b22508738fcba2f263f2a",
      "old_mode": 33188,
      "old_path": "src/variable.c",
      "new_id": "5cd28bf73a0955bc923a5e84b425fc81896d1a73",
      "new_mode": 33188,
      "new_path": "src/variable.c"
    },
    {
      "type": "modify",
      "old_id": "a82b512c51c120e149b9e8d082a4d6d273124f6f",
      "old_mode": 33188,
      "old_path": "src/variable.h",
      "new_id": "0b84c2e5a563f8b54ce563d2274e538f42c1af9b",
      "new_mode": 33188,
      "new_path": "src/variable.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "eb3424cd543801e3190df143e6689db52a6082e8",
      "new_mode": 33188,
      "new_path": "tests/scripts/variables/conditional"
    }
  ]
}
