summaryrefslogtreecommitdiff
path: root/util/gitconfig
diff options
context:
space:
mode:
authorAlex Thiessen <alex.thiessen.de+coreboot@gmail.com>2018-01-04 20:31:29 +0000
committerPatrick Georgi <pgeorgi@google.com>2018-01-10 09:50:16 +0000
commitd4a3d0193279082dc47690d8ac861eb383d35728 (patch)
tree16032b952fa6c6ff20cedb5fde7e70ef00de7105 /util/gitconfig
parentef841b84693f5431e1865064ee28c0ec5cbcedb0 (diff)
downloadcoreboot-d4a3d0193279082dc47690d8ac861eb383d35728.tar.xz
util/gitconfig: Add missing license headers
License header for the `gitconfig.sh` was copied from the Makefile it was extracted from in commit 9ab8ae6a (util/gitconfig: Make gitconfig a bash script). License header for the pre-commit hook names Patrick Georgi as the copyright holder as he is the original author. Change-Id: Ie051e5e6ae7571050ece383e6be8236ed7d1ddd9 Signed-off-by: Alex Thiessen <alex.thiessen.de+coreboot@gmail.com> Reviewed-on: https://review.coreboot.org/23097 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/gitconfig')
-rwxr-xr-xutil/gitconfig/gitconfig.sh16
-rwxr-xr-xutil/gitconfig/pre-commit16
2 files changed, 32 insertions, 0 deletions
diff --git a/util/gitconfig/gitconfig.sh b/util/gitconfig/gitconfig.sh
index 5f91a697da..2f96fd41f2 100755
--- a/util/gitconfig/gitconfig.sh
+++ b/util/gitconfig/gitconfig.sh
@@ -1,4 +1,20 @@
#!/bin/bash
+
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2011 secunet Security Networks AG
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; version 2 of the License.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+
if [ ! -d .git ]; then
echo "Error: Not in a git repository"
exit 1
diff --git a/util/gitconfig/pre-commit b/util/gitconfig/pre-commit
index 1c04bc34e9..ac0db4a238 100755
--- a/util/gitconfig/pre-commit
+++ b/util/gitconfig/pre-commit
@@ -1,4 +1,20 @@
#!/bin/sh
+
+##
+## This file is part of the coreboot project.
+##
+## Copyright (C) 2015 Patrick Georgi <patrick@georgi-clan.de>
+##
+## This program is free software; you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation; version 2 of the License.
+##
+## This program is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+
%MAKE% lint-stable
PATCHDIFF=$(git diff --cached)