]> git.ipfire.org Git - thirdparty/git.git/blobdiff - ref-filter.c
t: local VAR="VAL" (quote command substitution)
[thirdparty/git.git] / ref-filter.c
index 0ec29f7385480ad4ee71a6cc684307b2bf19c814..03542d023686f8b9d7089dddef0d17caf6c1ae44 100644 (file)
@@ -1991,7 +1991,7 @@ static void grab_sub_body_contents(struct atom_value *val, int deref, struct exp
                        struct strbuf s = STRBUF_INIT;
 
                        /* Format the trailer info according to the trailer_opts given */
-                       format_trailers_from_commit(&s, subpos, &atom->u.contents.trailer_opts);
+                       format_trailers_from_commit(&atom->u.contents.trailer_opts, subpos, &s);
 
                        v->s = strbuf_detach(&s, NULL);
                } else if (atom->u.contents.option == C_BARE)