summaryrefslogtreecommitdiff
path: root/examples/diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/diff.c')
-rw-r--r--examples/diff.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/examples/diff.c b/examples/diff.c
index b1415648a..daf5d7030 100644
--- a/examples/diff.c
+++ b/examples/diff.c
@@ -1,8 +1,15 @@
/*
- * Copyright (C) the libgit2 contributors. All rights reserved.
+ * libgit2 "diff" example - shows how to use the diff API
*
- * This file is part of libgit2, distributed under the GNU GPL v2 with
- * a Linking Exception. For full terms see the included COPYING file.
+ * Written by the libgit2 contributors
+ *
+ * To the extent possible under law, the author(s) have dedicated all copyright
+ * and related and neighboring rights to this software to the public domain
+ * worldwide. This software is distributed without any warranty.
+ *
+ * You should have received a copy of the CC0 Public Domain Dedication along
+ * with this software. If not, see
+ * <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
#include "common.h"