Stefan Karpinski schrieb:
This led me to wonder if it wouldn't make sense to have this
conversion ability built into git.
This wouldn't help your case a lot. It is still at the discretion of each
individual repository owner to enable the conversion. (You didn't mean to
make this conversion mandatory, did you?)
BTW, you don't need to change git code to achieve this. It's sufficient to
install a suitable "clean" filter:
echo "*.c filter=c-code" > .git/info/attributes
git config filter.c-code.clean tabs2spaces
where tabs2spaces is your utility that does the conversion.
-- Hannes