Thread (30 messages) flat view 30 messages, 6 authors, 2016-06-15

Re: [PATCHv3 5/8] Teach "-m <msg>" and "-F <file>" to "git notes edit"

From: Johan Herland <hidden>
Date: 2016-06-15 22:47:07

On Wednesday 29 July 2009, Thomas Rast wrote:
Johan Herland wrote:
quoted
diff --git a/t/t3301-notes.sh b/t/t3301-notes.sh
[...]
quoted
+cat > expect-m-and-F << EOF
+commit 15023535574ded8b1a89052b32673f84cf9582b8
+Author: A U Thor [off-list ref]
+Date:   Thu Apr 7 15:16:13 2005 -0700
+
+    4th
+
+Notes:
+    spam
+
+    xyzzy
+
+    foo
There's significant trailing whitespace here (in the lines between
spam, xyzzy and foo) that initially broke the test for me because I
use apply.whitespace=fix.  Can you guard the whitespace if it is
really important, with something like

sed 's/#$//' > expect <<EOF
whitespace:    #
EOF
Thanks! Will be fixed in the next iteration of this topic.


...Johan

-- 
Johan Herland, [off-list ref]
www.herland.net
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help