From 495903641d16473d81d7b3d9c88c370cf538fadd Mon Sep 17 00:00:00 2001 From: Jacob Keller Date: Fri, 28 Mar 2014 09:08:32 -0700 Subject: [PATCH] apply-patch: prefix diff output with '> ' When aiaiai responds to a mailing list that is monitored by patchwork, a failure to apply a diff can cause patchwork to generate false positive "patches" due to the diff in the email. This patch modifies aiaiai so that it prefixes the output of the command with a '> ' which will prevent patchwork from recognizing this as a diff with a patch inlined to the reply. Signed-off-by: Jacob Keller Signed-off-by: Artem Bityutskiy --- helpers/aiaiai-sh-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/aiaiai-sh-functions b/helpers/aiaiai-sh-functions index b515cf0..c17255a 100644 --- a/helpers/aiaiai-sh-functions +++ b/helpers/aiaiai-sh-functions @@ -188,7 +188,7 @@ $(patch --merge=diff3 -p1 < .git/rebase-apply/patch 2>&1) $(print_separator) -$(git diff --no-color) +$(git diff --no-color | sed 's/^/> /') EOF return 1 } -- 2.49.0