Comments on: Fixing whitespace when applying patches with git https://blog.bigballofwax.co.nz/2011/12/15/fixing-whitespace-when-apply-patches-with-git/ Just random ranting and raving Wed, 04 Apr 2012 14:55:08 +0000 hourly 1 http://wordpress.com/ By: Paul Poulain https://blog.bigballofwax.co.nz/2011/12/15/fixing-whitespace-when-apply-patches-with-git/comment-page-1/#comment-411 Wed, 04 Apr 2012 14:55:08 +0000 http://blog.bigballofwax.co.nz/?p=2316#comment-411 To add a comment: this can also fix tab indentation errors.

The following parameter will transform all tabs into 4 spaces:
git config –global core.whitespace trailing-space,space-before-tab,tab-in-indent,tabwidth=4

(I just tested that with bug 7876 http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7876)

Like

]]>