automagically replacing tabs by spaces in patches
Hello, We have a coding guideline saying we must use 4 spaces and not tabs for indenting. Some patches are still provided with tabs. Fortunately, chris has found a way to automagically fix trailing whitespaces, and I've commented his blog entry to deal with tabs. So, head to : http://blog.bigballofwax.co.nz/2011/12/15/fixing-whitespace-when-apply-patch... (and see comment 1) I'll remove the tab control on the git hook and update the wiki now, to point to this page. -- Paul POULAIN http://www.biblibre.com Expert en Logiciels Libres pour l'info-doc Tel : (33) 4 91 81 35 08
Paul Poulain <paul.poulain@biblibre.com>
So, head to : http://blog.bigballofwax.co.nz/2011/12/15/fixing-whitespace-when-apply-patch... (and see comment 1)
This is a good move. If git complains when you run the command from comment 1, make sure it is two dashes -- and not one emdash: it looks to me like blog.bigballofwax has been artificially intelligent and broken it. Thanks, -- MJ Ray (slef), member of www.software.coop, a for-more-than-profit co-op. http://koha-community.org supporter, web and library systems developer. In My Opinion Only: see http://mjr.towers.org.uk/email.html Available for hire (including development) at http://www.software.coop/
participants (2)
-
MJ Ray -
Paul Poulain