[coreboot-gerrit] Change in coreboot[master]: util/gitconfig: Add missing license headers
Alex Thiessen (Code Review)
gerrit at coreboot.org
Thu Jan 4 21:53:05 CET 2018
Alex Thiessen has uploaded this change for review. ( https://review.coreboot.org/23097
Change subject: util/gitconfig: Add missing license headers
......................................................................
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 Patrik Georgy as the
copyright holder as he is the original author.
Change-Id: Ie051e5e6ae7571050ece383e6be8236ed7d1ddd9
Signed-off-by: Alex Thiessen <alex.thiessen.de+coreboot at gmail.com>
---
M util/gitconfig/gitconfig.sh
M util/gitconfig/pre-commit
2 files changed, 32 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/23097/1
diff --git a/util/gitconfig/gitconfig.sh b/util/gitconfig/gitconfig.sh
index 5f91a69..2f96fd4 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 1c04bc3..ac0db4a 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 at 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)
--
To view, visit https://review.coreboot.org/23097
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie051e5e6ae7571050ece383e6be8236ed7d1ddd9
Gerrit-Change-Number: 23097
Gerrit-PatchSet: 1
Gerrit-Owner: Alex Thiessen <alex.thiessen.de+coreboot at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180104/3ae8c6ca/attachment-0001.html>
More information about the coreboot-gerrit
mailing list