Cleanup commit messages with git-stripspace
Petr Baudis
AppliedDear diary, on Sat, Jun 04, 2005 at 06:15:31PM CEST, I got a letter where Jonas Fonseca <[email protected]> told me that...
Quoted 5 lines
Besides removing empty lines from the beginning and end (like the current sed command) git-stripspace will also turn multiple consecutive empty lines into just one empty line.
Signed-off-by Jonas Fonseca <[email protected]>
I tried hard to prevent this exact behavior since I think this is Bad Thing (tm), but after all, what the hell... The sed expression has some portability problems associated.
Thanks, applied.
Signature · 3 lines
Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor