Commit 2480d0eba85781c802027073a91f6f4331d4f71b

Patrick Steinhardt 2017-06-30T13:34:05

Add missing license headers Some implementation files were missing the license headers. This commit adds them.

diff --git a/src/attr.c b/src/attr.c
index 999f413..fe3ccf4 100644
--- a/src/attr.c
+++ b/src/attr.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) the libgit2 contributors. All rights reserved.
+ *
+ * This file is part of libgit2, distributed under the GNU GPL v2 with
+ * a Linking Exception. For full terms see the included COPYING file.
+ */
+
 #include "common.h"
 #include "repository.h"
 #include "sysdir.h"
diff --git a/src/attr_file.c b/src/attr_file.c
index e30ea5e..0ac4c9c 100644
--- a/src/attr_file.c
+++ b/src/attr_file.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) the libgit2 contributors. All rights reserved.
+ *
+ * This file is part of libgit2, distributed under the GNU GPL v2 with
+ * a Linking Exception. For full terms see the included COPYING file.
+ */
+
 #include "common.h"
 #include "repository.h"
 #include "filebuf.h"
diff --git a/src/attrcache.c b/src/attrcache.c
index 5416189..d516bb4 100644
--- a/src/attrcache.c
+++ b/src/attrcache.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) the libgit2 contributors. All rights reserved.
+ *
+ * This file is part of libgit2, distributed under the GNU GPL v2 with
+ * a Linking Exception. For full terms see the included COPYING file.
+ */
+
 #include "common.h"
 #include "repository.h"
 #include "attr_file.h"
diff --git a/src/ignore.c b/src/ignore.c
index c324d4d..6496dd1 100644
--- a/src/ignore.c
+++ b/src/ignore.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) the libgit2 contributors. All rights reserved.
+ *
+ * This file is part of libgit2, distributed under the GNU GPL v2 with
+ * a Linking Exception. For full terms see the included COPYING file.
+ */
+
 #include "git2/ignore.h"
 #include "common.h"
 #include "ignore.h"
diff --git a/src/patch.c b/src/patch.c
index 9b7c9c6..519cbb8 100644
--- a/src/patch.c
+++ b/src/patch.c
@@ -1,3 +1,10 @@
+/*
+* Copyright (C) the libgit2 contributors. All rights reserved.
+*
+* This file is part of libgit2, distributed under the GNU GPL v2 with
+* a Linking Exception. For full terms see the included COPYING file.
+*/
+
 #include "git2/patch.h"
 #include "diff.h"
 #include "patch.h"
diff --git a/src/pool.c b/src/pool.c
index b4fc50f..57ce46e 100644
--- a/src/pool.c
+++ b/src/pool.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) the libgit2 contributors. All rights reserved.
+ *
+ * This file is part of libgit2, distributed under the GNU GPL v2 with
+ * a Linking Exception. For full terms see the included COPYING file.
+ */
+
 #include "pool.h"
 #include "posix.h"
 #ifndef GIT_WIN32
diff --git a/src/sortedcache.c b/src/sortedcache.c
index cc322d4..76672d9 100644
--- a/src/sortedcache.c
+++ b/src/sortedcache.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) the libgit2 contributors. All rights reserved.
+ *
+ * This file is part of libgit2, distributed under the GNU GPL v2 with
+ * a Linking Exception. For full terms see the included COPYING file.
+ */
+
 #include "sortedcache.h"
 
 int git_sortedcache_new(