diff options
author | Michael Trier <mtrier@gmail.com> | 2010-03-03 23:46:23 -0500 |
---|---|---|
committer | Michael Trier <mtrier@gmail.com> | 2010-03-03 23:46:23 -0500 |
commit | e3e2c8c14b861b4d4865a9574e812ef9f2609771 (patch) | |
tree | c71c7da3843389ea3b7041a0200d7abe3b0e580d /lib/git/head.py | |
parent | acb0fa8b94ef421ad60c8507b634759a472cd56c (diff) | |
download | gitpython-e3e2c8c14b861b4d4865a9574e812ef9f2609771.tar.gz |
Corrected a bunch of whitespace that makes some folks crazy. Added Sebastian to the AUTHORS file.
Diffstat (limited to 'lib/git/head.py')
-rw-r--r-- | lib/git/head.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/git/head.py b/lib/git/head.py index 639cee40..f2e9e3f2 100644 --- a/lib/git/head.py +++ b/lib/git/head.py @@ -1,5 +1,5 @@ # head.py -# Copyright (C) 2008, 2009 Michael Trier (mtrier@gmail.com) and contributors +# Copyright (C) 2008-2010 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 @@ -16,10 +16,10 @@ class Head(object): >>> repo = Repo("/path/to/repo") >>> head = repo.heads[0] - >>> head.name + >>> head.name 'master' - >>> head.commit + >>> head.commit <git.Commit "1c09f116cbc2cb4100fb6935bb162daa4723f455"> >>> head.commit.id @@ -53,7 +53,7 @@ class Head(object): Returns git.Head[] - + List is sorted by committerdate """ @@ -96,7 +96,7 @@ class Head(object): is the formatted head information Format:: - + name: [a-zA-Z_/]+ <null byte> id: [0-9A-Fa-f]{40} |