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

Re: white spaces in a patch

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:47

"Mark Ryden" [off-list ref] writes:
1) Is there a way to check whether there are white spaces in this
file without running git-apply?
"sed -n -e '/^+.*[ 	]$/p' patch.txt" perhaps?
2) Is there a way to get some messages about that there are white spaces
when creating a git patch?
Doesn't "git diff" highlight whitespace errors?  That way, you can catch
errors  before you make a commit that has them.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help