]> git.ipfire.org Git - thirdparty/git.git/blobdiff - trace2.c
Merge branch 'jk/apply-binary-hunk-parsing-fix'
[thirdparty/git.git] / trace2.c
index 256120c7fd553e81d82a1a6e1c883af6213e46b6..b9b154ac440db0b895cd77e86148e27afc7c6514 100644 (file)
--- a/trace2.c
+++ b/trace2.c
@@ -260,6 +260,19 @@ void trace2_cmd_path_fl(const char *file, int line, const char *pathname)
                        tgt_j->pfn_command_path_fl(file, line, pathname);
 }
 
+void trace2_cmd_ancestry_fl(const char *file, int line, const char **parent_names)
+{
+       struct tr2_tgt *tgt_j;
+       int j;
+
+       if (!trace2_enabled)
+               return;
+
+       for_each_wanted_builtin (j, tgt_j)
+               if (tgt_j->pfn_command_ancestry_fl)
+                       tgt_j->pfn_command_ancestry_fl(file, line, parent_names);
+}
+
 void trace2_cmd_name_fl(const char *file, int line, const char *name)
 {
        struct tr2_tgt *tgt_j;