diff --git a/git-templates/description b/git-templates/description new file mode 100644 index 000000000..96196cffb --- /dev/null +++ b/git-templates/description @@ -0,0 +1,3 @@ +# Copyright (c) 2012 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. diff --git a/git-templates/hooks/applypatch-msg b/git-templates/hooks/applypatch-msg new file mode 100755 index 000000000..bc62ba94b --- /dev/null +++ b/git-templates/hooks/applypatch-msg @@ -0,0 +1,4 @@ +#!/bin/bash + +[ -e "build/git-hooks/applypatch-msg" ] && exec bash "build/git-hooks/applypatch-msg" "$@" +exit 0 diff --git a/git-templates/hooks/commit-msg b/git-templates/hooks/commit-msg new file mode 100755 index 000000000..6d4ef8878 --- /dev/null +++ b/git-templates/hooks/commit-msg @@ -0,0 +1,4 @@ +#!/bin/bash + +[ -e "build/git-hooks/commit-msg" ] && exec bash "build/git-hooks/commit-msg" "$@" +exit 0 diff --git a/git-templates/hooks/post-applypatch b/git-templates/hooks/post-applypatch new file mode 100755 index 000000000..9f970733e --- /dev/null +++ b/git-templates/hooks/post-applypatch @@ -0,0 +1,4 @@ +#!/bin/bash + +[ -e "build/git-hooks/post-applypatch" ] && exec bash "build/git-hooks/post-applypatch" "$@" +exit 0 diff --git a/git-templates/hooks/post-checkout b/git-templates/hooks/post-checkout new file mode 100755 index 000000000..257943435 --- /dev/null +++ b/git-templates/hooks/post-checkout @@ -0,0 +1,4 @@ +#!/bin/bash + +[ -e "build/git-hooks/post-checkout" ] && exec bash "build/git-hooks/post-checkout" "$@" +exit 0 diff --git a/git-templates/hooks/post-commit b/git-templates/hooks/post-commit new file mode 100755 index 000000000..6b1c6c90e --- /dev/null +++ b/git-templates/hooks/post-commit @@ -0,0 +1,4 @@ +#!/bin/bash + +[ -e "build/git-hooks/post-commit" ] && exec bash "build/git-hooks/post-commit" "$@" +exit 0 diff --git a/git-templates/hooks/post-merge b/git-templates/hooks/post-merge new file mode 100755 index 000000000..706530631 --- /dev/null +++ b/git-templates/hooks/post-merge @@ -0,0 +1,4 @@ +#!/bin/bash + +[ -e "build/git-hooks/post-merge" ] && exec bash "build/git-hooks/post-merge" "$@" +exit 0 diff --git a/git-templates/hooks/post-update b/git-templates/hooks/post-update new file mode 100755 index 000000000..b0fe1c52a --- /dev/null +++ b/git-templates/hooks/post-update @@ -0,0 +1,4 @@ +#!/bin/bash + +[ -e "build/git-hooks/post-update" ] && exec bash "build/git-hooks/post-update" "$@" +exit 0 diff --git a/git-templates/hooks/pre-applypatch b/git-templates/hooks/pre-applypatch new file mode 100755 index 000000000..c37aa4add --- /dev/null +++ b/git-templates/hooks/pre-applypatch @@ -0,0 +1,4 @@ +#!/bin/bash + +[ -e "build/git-hooks/pre-applypatch" ] && exec bash "build/git-hooks/pre-applypatch" "$@" +exit 0 diff --git a/git-templates/hooks/pre-auto-gc b/git-templates/hooks/pre-auto-gc new file mode 100755 index 000000000..0b87a0f80 --- /dev/null +++ b/git-templates/hooks/pre-auto-gc @@ -0,0 +1,4 @@ +#!/bin/bash + +[ -e "build/git-hooks/pre-auto-gc" ] && exec bash "build/git-hooks/pre-auto-gc" "$@" +exit 0 diff --git a/git-templates/hooks/pre-commit b/git-templates/hooks/pre-commit new file mode 100755 index 000000000..f5ea25c81 --- /dev/null +++ b/git-templates/hooks/pre-commit @@ -0,0 +1,4 @@ +#!/bin/bash + +[ -e "build/git-hooks/pre-commit" ] && exec bash "build/git-hooks/pre-commit" "$@" +exit 0 diff --git a/git-templates/hooks/pre-rebase b/git-templates/hooks/pre-rebase new file mode 100755 index 000000000..dd01fddce --- /dev/null +++ b/git-templates/hooks/pre-rebase @@ -0,0 +1,4 @@ +#!/bin/bash + +[ -e "build/git-hooks/pre-rebase" ] && exec bash "build/git-hooks/pre-rebase" "$@" +exit 0 diff --git a/git-templates/hooks/prepare-commit-msg b/git-templates/hooks/prepare-commit-msg new file mode 100755 index 000000000..c76199663 --- /dev/null +++ b/git-templates/hooks/prepare-commit-msg @@ -0,0 +1,4 @@ +#!/bin/bash + +[ -e "build/git-hooks/prepare-commit-msg" ] && exec bash "build/git-hooks/prepare-commit-msg" "$@" +exit 0 diff --git a/git-templates/info/exclude b/git-templates/info/exclude new file mode 100644 index 000000000..a5196d1be --- /dev/null +++ b/git-templates/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~