Reputation: 3015
In Xcode, is it possible to automatically trigger indentation on Objective-C code for a file when committing it? Does someone know a tool to reindent Objective-C code in bash?
Upvotes: 2
Views: 273
Reputation: 21891
You could add something like uncrustify to the git pre-commit hook.
Upvotes: 3