)]}' { "commit": "5c8eeb83dbba11d7e41758b7a8dcb2da6a2025ba", "tree": "cefe187625110427649711f166df18615ad62f23", "parents": [ "8f83acf77cd14567dfdeff0e15f2da086109df70" ], "author": { "name": "Nguyen Thai Ngoc Duy", "email": "pclouds@gmail.com", "time": "Sun Jan 15 17:03:27 2012 +0700" }, "committer": { "name": "Junio C Hamano", "email": "gitster@pobox.com", "time": "Wed Jan 18 15:44:02 2012 -0800" }, "message": "diff-index: enable recursive pathspec matching in unpack_trees\n\nThe pathspec structure has a few bits of data to drive various operation\nmodes after we unified the pathspec matching logic in various codepaths.\nFor example, max_depth field is there so that \"git grep\" can limit the\noutput for files found in limited depth of tree traversal. Also in order\nto show just the surface level differences in \"git diff-tree\", recursive\nfield stops us from descending into deeper level of the tree structure\nwhen it is set to false, and this also affects pathspec matching when\nwe have wildcards in the pathspec.\n\nThe diff-index has always wanted the recursive behaviour, and wanted to\nmatch pathspecs without any depth limit. But we forgot to do so when we\nupdated tree_entry_interesting() logic to unify the pathspec matching\nlogic.\n\nSigned-off-by: Nguyễn Thái Ngọc Duy \u003cpclouds@gmail.com\u003e\nSigned-off-by: Junio C Hamano \u003cgitster@pobox.com\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "62f4cd94cfbc4d3fe9e46c84f318af6624349a48", "old_mode": 33188, "old_path": "diff-lib.c", "new_id": "fc0dff31b58c8bd6668de5c6396a93b31cc5729d", "new_mode": 33188, "new_path": "diff-lib.c" }, { "type": "modify", "old_id": "fbc8cd8f05f4debeb30b935c1b1db86e94e49f0e", "old_mode": 33261, "old_path": "t/t4010-diff-pathspec.sh", "new_id": "af5134b70c6b4898aa652907d58191d45aa30ac4", "new_mode": 33261, "new_path": "t/t4010-diff-pathspec.sh" } ] }