summaryrefslogtreecommitdiff
path: root/hooks
AgeCommit message (Collapse)AuthorFilesLines
2010-07-15hooks: use 'git do-something' instead of the old 'git-do-something'Tim-Philipp Müller2-3/+3
2010-04-12pre-commit: Add --leave-preprocessor-spaceEdward Hervey1-1/+2
This puts it in sync with core/tools/gst-indent.
2009-08-02pre-commit.hook: mention need to run git add after fixing the indentationTim-Philipp Müller1-1/+9
2009-04-17hooks: Don't get confused by indent --version strings containing spaces.Jan Schmidt1-2/+2
Use some quote marks around the indent existence checks.
2009-04-04Whitespace cleanupsFelipe Contreras1-1/+1
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-03-10pre-commit.hook: check for GNU indent before using it, and allow gnuindent ↵Tim-Philipp Müller1-4/+30
as binary name
2009-02-10pre-commit script: only run on files that exist, not deleted files.Michael Smith1-1/+1
Add --diff-filter=ACMR to only get added, copied, modified, or renamed files (importantly, not deleted files!) in the list of files we run the indent script on.
2009-02-09pre-commit.hook: Use the file content from the index.Edward Hervey1-5/+7
Issue reported by Jonas Holmberg on #gstreamer
2009-02-05pre-commit hook: only check indentation of those files we're trying to ↵Tim-Philipp Müller1-1/+1
commit and not all locally modified files
2009-01-30Make the pre-commit hook executableEdward Hervey1-0/+0
2009-01-22Call indent twice to get correct outputSebastian Dröge1-9/+14
indent tends to add line-breaks at different positions for every second call.
2009-01-22Fix pre-commit hook for moved/deleted filesSebastian Dröge1-1/+2
2009-01-22Adding git hooksEdward Hervey2-0/+110