Skip to content

Commit 233e3ff

Browse files
committed
renamed git_python to git. Removed pop_key and replaced with dict.pop. Fixed up tests so they pass except for stderr test. Modified version information retrieval.
1 parent 7b675bf commit 233e3ff

32 files changed

+69
-85
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
Michael Trier <mtrier _at_ gmail.com>
22
Alan Briolat
33
Florian Apolloner <florian _at_ apolloner.eu>
4+
David Aguilar <davvid _at_ gmail.com>

CHANGES

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
CHANGES
33
=======
44

5+
0.1.3
6+
=====
7+
8+
Git
9+
---
10+
* Removed shell escaping completely
11+
* Added support for stderr and stdin
12+
* Added new
13+
514
0.1.2
615
=====
716
Corrected problem with Tree.__div__ not working with zero length files.

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Initialize a Repo object
5252

5353
The first step is to create a ``Repo`` object to represent your repository.
5454

55-
>>> from git_python import *
55+
>>> from git import *
5656
>>> repo = Repo("/Users/mtrier/Development/git-python")
5757

5858
In the above example, the directory ``/Users/mtrier/Development/git-python``

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.2
1+
0.1.3

lib/git/__init__.py

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import os
2+
import inspect
3+
4+
# grab the version information
5+
v = open(os.path.join(os.path.dirname(__file__), '..', '..', 'VERSION'))
6+
__version__ = v.readline().strip()
7+
v.close()
8+
9+
from git.actor import Actor
10+
from git.blob import Blob
11+
from git.commit import Commit
12+
from git.diff import Diff
13+
from git.errors import InvalidGitRepositoryError, NoSuchPathError, GitCommandError
14+
from git.gitter import Git
15+
from git.head import Head
16+
from git.repo import Repo
17+
from git.stats import Stats
18+
from git.tag import Tag
19+
from git.tree import Tree
20+
from git.utils import dashify
21+
from git.utils import touch
22+
23+
__all__ = [ name for name, obj in locals().items()
24+
if not (name.startswith('_') or inspect.ismodule(obj)) ]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)