forked from ddddavidmartin/Pre-commit-hooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
20 lines (14 loc) · 718 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
This repository contains code formatting pre-commit hook to use with git. It works easily with Xcode.
Check INSTALL for documentation on how to install and use these hooks.
canonicalize_filename.sh
Provides the ability to canonicalize filenames similar to the GNU version of
readlink -f with non GNU versions of readlink.
install_hooks.sh:
Copy hooks over to your local git repository.
pre-commit:
Allow to run multiple pre-commit hooks as specified in the script.
pre-commit-uncrustify:
Run uncrustify on your sourcefiles and abort the commit if style violations
have been detected. Generate a patch to fix these violations.
uncrustify_obj_c.cfg:
Uncrusify config file for Objective-C.