@@ -13,9 +13,9 @@ The first step is to create a ``Repo`` object to represent your repository.
1313
1414 >>> from git import *
1515 >>> repo = Repo("/Users/mtrier/Development/git-python")
16-
17- In the above example, the directory ``/Users/mtrier/Development/git-python``
18- is my working repository and contains the ``.git`` directory. You can also
16+
17+ In the above example, the directory ``/Users/mtrier/Development/git-python``
18+ is my working repository and contains the ``.git`` directory. You can also
1919initialize GitPython with a bare repository.
2020
2121 >>> repo = Repo.create("/var/git/git-python.git")
@@ -42,14 +42,14 @@ for commits beginning at a different branch, commit, tag, etc.
4242
4343You can specify the maximum number of commits to return.
4444
45- >>> repo.commits('master', 100)
46-
45+ >>> repo.commits('master', max_count= 100)
46+
4747If you need paging, you can specify a number of commits to skip.
4848
49- >>> repo.commits('master', 10, 20)
49+ >>> repo.commits('master', max_count= 10, skip= 20)
5050
5151The above will return commits 21-30 from the commit list.
52-
52+
5353The Commit object
5454*****************
5555
@@ -79,7 +79,7 @@ Commit objects contain information about a specific commit.
7979 (2008, 5, 7, 5, 0, 56, 2, 128, 0)
8080
8181 >>> head.message
82- 'cleaned up a lot of test information. Fixed escaping so it works with
82+ 'cleaned up a lot of test information. Fixed escaping so it works with
8383 subprocess.'
8484
8585Note: date time is represented in a `struct_time`_ format. Conversion to
@@ -183,10 +183,10 @@ You can also get a blob directly from the repo if you know its name.
183183What Else?
184184**********
185185
186- There is more stuff in there, like the ability to tar or gzip repos, stats,
187- log, blame, and probably a few other things. Additionally calls to the git
188- instance are handled through a ``__getattr__`` construct, which makes
189- available any git commands directly, with a nice conversion of Python dicts
186+ There is more stuff in there, like the ability to tar or gzip repos, stats,
187+ log, blame, and probably a few other things. Additionally calls to the git
188+ instance are handled through a ``__getattr__`` construct, which makes
189+ available any git commands directly, with a nice conversion of Python dicts
190190to command line parameters.
191191
192192Check the unit tests, they're pretty exhaustive.
0 commit comments