]> git.ipfire.org Git - thirdparty/git.git/blobdiff - combine-diff.c
grep: search history of moved submodules
[thirdparty/git.git] / combine-diff.c
index b36c2d16bdbe8a3ddfaab177a94669cb216a181e..59501db99a74ab8f237766730045dda4ecd112b2 100644 (file)
@@ -1203,9 +1203,9 @@ static void show_raw_diff(struct combine_diff_path *p, int num_parent, struct re
 
                /* Show sha1's */
                for (i = 0; i < num_parent; i++)
-                       printf(" %s", diff_aligned_abbrev(p->parent[i].oid.hash,
+                       printf(" %s", diff_aligned_abbrev(&p->parent[i].oid,
                                                          opt->abbrev));
-               printf(" %s ", diff_aligned_abbrev(p->oid.hash, opt->abbrev));
+               printf(" %s ", diff_aligned_abbrev(&p->oid, opt->abbrev));
        }
 
        if (opt->output_format & (DIFF_FORMAT_RAW | DIFF_FORMAT_NAME_STATUS)) {