summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2017-06-30 13:34:05 +0200
committerPatrick Steinhardt <ps@pks.im>2017-07-03 08:51:47 +0000
commit2480d0eba85781c802027073a91f6f4331d4f71b (patch)
tree33640f556602693b8aaad16ab1abdbdb9df5be82 /src
parent0fb4b3519c32914073016f566555286c10e80fac (diff)
downloadlibgit2-2480d0eba85781c802027073a91f6f4331d4f71b.tar.gz
Add missing license headers
Some implementation files were missing the license headers. This commit adds them.
Diffstat (limited to 'src')
-rw-r--r--src/attr.c7
-rw-r--r--src/attr_file.c7
-rw-r--r--src/attrcache.c7
-rw-r--r--src/ignore.c7
-rw-r--r--src/patch.c7
-rw-r--r--src/pool.c7
-rw-r--r--src/sortedcache.c7
7 files changed, 49 insertions, 0 deletions
diff --git a/src/attr.c b/src/attr.c
index 999f41318..fe3ccf492 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 e30ea5e0c..0ac4c9cbc 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 54161894b..d516bb4db 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 c324d4dd4..6496dd1f7 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 9b7c9c64c..519cbb872 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 b4fc50fca..57ce46e3c 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 cc322d478..76672d9f7 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(