summaryrefslogtreecommitdiff
path: root/lib/git
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git')
-rw-r--r--lib/git/__init__.py6
-rw-r--r--lib/git/actor.py6
-rw-r--r--lib/git/blob.py6
-rw-r--r--lib/git/cmd.py6
-rw-r--r--lib/git/commit.py6
-rw-r--r--lib/git/diff.py6
-rw-r--r--lib/git/errors.py6
-rw-r--r--lib/git/head.py6
-rw-r--r--lib/git/lazy.py6
-rw-r--r--lib/git/method_missing.py10
-rw-r--r--lib/git/repo.py6
-rw-r--r--lib/git/stats.py6
-rw-r--r--lib/git/tag.py6
-rw-r--r--lib/git/tree.py6
-rw-r--r--lib/git/utils.py6
15 files changed, 93 insertions, 1 deletions
diff --git a/lib/git/__init__.py b/lib/git/__init__.py
index 7de5088a..3e2558c2 100644
--- a/lib/git/__init__.py
+++ b/lib/git/__init__.py
@@ -1,3 +1,9 @@
+# __init__.py
+# Copyright (C) 2008 Michael Trier (mtrier@gmail.com) and contributors
+#
+# This module is part of GitPython and is released under
+# the BSD License: http://www.opensource.org/licenses/bsd-license.php
+
import os
import inspect
diff --git a/lib/git/actor.py b/lib/git/actor.py
index ed21d8ba..afd94016 100644
--- a/lib/git/actor.py
+++ b/lib/git/actor.py
@@ -1,3 +1,9 @@
+# actor.py
+# Copyright (C) 2008 Michael Trier (mtrier@gmail.com) and contributors
+#
+# This module is part of GitPython and is released under
+# the BSD License: http://www.opensource.org/licenses/bsd-license.php
+
import re
class Actor(object):
diff --git a/lib/git/blob.py b/lib/git/blob.py
index 134cb93d..a6768afb 100644
--- a/lib/git/blob.py
+++ b/lib/git/blob.py
@@ -1,3 +1,9 @@
+# blob.py
+# Copyright (C) 2008 Michael Trier (mtrier@gmail.com) and contributors
+#
+# This module is part of GitPython and is released under
+# the BSD License: http://www.opensource.org/licenses/bsd-license.php
+
import mimetypes
import os
import re
diff --git a/lib/git/cmd.py b/lib/git/cmd.py
index 4fa22fd9..a6e8f6cc 100644
--- a/lib/git/cmd.py
+++ b/lib/git/cmd.py
@@ -1,3 +1,9 @@
+# cmd.py
+# Copyright (C) 2008 Michael Trier (mtrier@gmail.com) and contributors
+#
+# This module is part of GitPython and is released under
+# the BSD License: http://www.opensource.org/licenses/bsd-license.php
+
import os
import subprocess
import re
diff --git a/lib/git/commit.py b/lib/git/commit.py
index fb52e42a..2835e07f 100644
--- a/lib/git/commit.py
+++ b/lib/git/commit.py
@@ -1,3 +1,9 @@
+# commit.py
+# Copyright (C) 2008 Michael Trier (mtrier@gmail.com) and contributors
+#
+# This module is part of GitPython and is released under
+# the BSD License: http://www.opensource.org/licenses/bsd-license.php
+
import re
import time
diff --git a/lib/git/diff.py b/lib/git/diff.py
index 075b0f87..9285465a 100644
--- a/lib/git/diff.py
+++ b/lib/git/diff.py
@@ -1,3 +1,9 @@
+# diff.py
+# Copyright (C) 2008 Michael Trier (mtrier@gmail.com) and contributors
+#
+# This module is part of GitPython and is released under
+# the BSD License: http://www.opensource.org/licenses/bsd-license.php
+
import re
import commit
diff --git a/lib/git/errors.py b/lib/git/errors.py
index f0a4be1a..0cf29c79 100644
--- a/lib/git/errors.py
+++ b/lib/git/errors.py
@@ -1,3 +1,9 @@
+# errors.py
+# Copyright (C) 2008 Michael Trier (mtrier@gmail.com) and contributors
+#
+# This module is part of GitPython and is released under
+# the BSD License: http://www.opensource.org/licenses/bsd-license.php
+
class InvalidGitRepositoryError(Exception):
pass
diff --git a/lib/git/head.py b/lib/git/head.py
index 58191fd8..f35d1680 100644
--- a/lib/git/head.py
+++ b/lib/git/head.py
@@ -1,3 +1,9 @@
+# head.py
+# Copyright (C) 2008 Michael Trier (mtrier@gmail.com) and contributors
+#
+# This module is part of GitPython and is released under
+# the BSD License: http://www.opensource.org/licenses/bsd-license.php
+
import commit
class Head(object):
diff --git a/lib/git/lazy.py b/lib/git/lazy.py
index 66e56c2b..7f39c304 100644
--- a/lib/git/lazy.py
+++ b/lib/git/lazy.py
@@ -1,3 +1,9 @@
+# lazy.py
+# Copyright (C) 2008 Michael Trier (mtrier@gmail.com) and contributors
+#
+# This module is part of GitPython and is released under
+# the BSD License: http://www.opensource.org/licenses/bsd-license.php
+
class LazyMixin(object):
lazy_properties = []
diff --git a/lib/git/method_missing.py b/lib/git/method_missing.py
index 06414cc4..250fcc6d 100644
--- a/lib/git/method_missing.py
+++ b/lib/git/method_missing.py
@@ -1,8 +1,16 @@
+# method_missing.py
+# Copyright (C) 2008 Michael Trier (mtrier@gmail.com) and contributors
+# Portions derived from http://blog.iffy.us/?p=43
+#
+# This module is part of GitPython and is released under
+# the BSD License: http://www.opensource.org/licenses/bsd-license.php
+
class MethodMissingMixin(object):
"""
A Mixin' to implement the 'method_missing' Ruby-like protocol.
- This was `taken from a blog post <http://blog.iffy.us/?p=43>`_
+ Ideas were `taken from the following blog post
+ <http://blog.iffy.us/?p=43>`_
"""
def __getattr__(self, attr):
class MethodMissing(object):
diff --git a/lib/git/repo.py b/lib/git/repo.py
index f1a5a8ee..c03adeba 100644
--- a/lib/git/repo.py
+++ b/lib/git/repo.py
@@ -1,3 +1,9 @@
+# repo.py
+# Copyright (C) 2008 Michael Trier (mtrier@gmail.com) and contributors
+#
+# This module is part of GitPython and is released under
+# the BSD License: http://www.opensource.org/licenses/bsd-license.php
+
import os
import re
from errors import InvalidGitRepositoryError, NoSuchPathError
diff --git a/lib/git/stats.py b/lib/git/stats.py
index 76f6410f..97d2bbde 100644
--- a/lib/git/stats.py
+++ b/lib/git/stats.py
@@ -1,3 +1,9 @@
+# stats.py
+# Copyright (C) 2008 Michael Trier (mtrier@gmail.com) and contributors
+#
+# This module is part of GitPython and is released under
+# the BSD License: http://www.opensource.org/licenses/bsd-license.php
+
class Stats(object):
def __init__(self, repo, total, files):
self.repo = repo
diff --git a/lib/git/tag.py b/lib/git/tag.py
index fb119f76..6b0e63e0 100644
--- a/lib/git/tag.py
+++ b/lib/git/tag.py
@@ -1,3 +1,9 @@
+# tag.py
+# Copyright (C) 2008 Michael Trier (mtrier@gmail.com) and contributors
+#
+# This module is part of GitPython and is released under
+# the BSD License: http://www.opensource.org/licenses/bsd-license.php
+
from commit import Commit
class Tag(object):
diff --git a/lib/git/tree.py b/lib/git/tree.py
index 9c4dab1d..daa2a49e 100644
--- a/lib/git/tree.py
+++ b/lib/git/tree.py
@@ -1,3 +1,9 @@
+# tree.py
+# Copyright (C) 2008 Michael Trier (mtrier@gmail.com) and contributors
+#
+# This module is part of GitPython and is released under
+# the BSD License: http://www.opensource.org/licenses/bsd-license.php
+
import os
from lazy import LazyMixin
import blob
diff --git a/lib/git/utils.py b/lib/git/utils.py
index 656e783c..7709b4eb 100644
--- a/lib/git/utils.py
+++ b/lib/git/utils.py
@@ -1,3 +1,9 @@
+# utils.py
+# Copyright (C) 2008 Michael Trier (mtrier@gmail.com) and contributors
+#
+# This module is part of GitPython and is released under
+# the BSD License: http://www.opensource.org/licenses/bsd-license.php
+
import os
def dashify(string):