Thread (43 messages) flat view 43 messages, 7 authors, 2021-01-15

Re: [PATCH 14/22] test-lib functions: add --author support to test_commit

From: Junio C Hamano <hidden>
Date: 2021-01-12 22:35:15

Ævar Arnfjörð Bjarmason  [off-list ref] writes:
Add support for --author to "test_commit". This will simplify some
current and future tests, one of those is being changed here.

Let's also line-wrap the "git commit" command invocation to make diffs
that add subsequent options easier to add, as they'll only need to add
a new option line.
Makes sense.
-	git commit -m "Initial Commit" --author Frigate\ \<flying@over.world\> &&
-	git tag Initial &&
+	test_commit --author Frigate\ \<flying@over.world\> \
+		"Initial Commit" foo Initial Initial &&
Why not fix the value of the author while at it to be more readable?
E.g. --author "Frigate [off-list ref]"
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help