From d4a3d0193279082dc47690d8ac861eb383d35728 Mon Sep 17 00:00:00 2001 From: Alex Thiessen Date: Thu, 4 Jan 2018 20:31:29 +0000 Subject: 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 Reviewed-on: https://review.coreboot.org/23097 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Patrick Georgi --- util/gitconfig/gitconfig.sh | 16 ++++++++++++++++ util/gitconfig/pre-commit | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) (limited to 'util/gitconfig') 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 +## +## 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) -- cgit v1.2.3