16 Commits

Author SHA1 Message Date
Carlos Martín Nieto
b8e6852d26 Add some missing fields to DiffFile's docs 2015-09-27 03:09:25 +02:00
Santiago Perez De Rosso
9dd74dd593 add doc for DiffLine 2015-07-16 11:35:46 -04:00
Carlos Martín Nieto
42d81e33ec Add DiffStats
This wraps git_diff_stats and can be retrieved through a Diff. It
includes a formatting method.
2015-04-28 16:21:56 +02:00
Richard Möhn
1b9cb54927 Add hint to Diff.__iter__()
I'm not the guy who looks at examples in the first place and I guess
there are other people like me. When I wanted find out how to get
information out of a Diff, I looked at the documented methods and didn't
find anything. Only later @cmn showed me the [p for p in diff] example
in the documentation. Add a short piece of information that gives a hint
to those who prefer the dry API docs.
2015-04-23 16:38:55 +09:00
J. David Ibáñez
718a2df1d5 Fix building the docs 2015-02-07 08:37:41 +01:00
J. David Ibáñez
061961f119 Rename pygit2.Hunk to pygit2.DiffHunk
Comes from PR #346
2015-01-23 13:38:13 +01:00
Carlos Martín Nieto
e5f6798f67 Adjust to oid -> id renaming 2014-04-01 19:47:48 +02:00
J. David Ibáñez
7b1310f31b docs: fix warnings 2014-02-04 07:52:58 +01:00
J. David Ibáñez
c80fb4814f Update documentation 2013-11-24 13:34:27 +01:00
Nico von Geyso
60c37bd7bf Fixed: documentation for diff_*()-Methods 2013-05-18 16:19:44 +02:00
Nico von Geyso
bc4c32b65c Added: documentation for Tree.diff_*-Methods 2013-05-18 15:42:04 +02:00
Nico von Geyso
067b00de4f added basic diff example and fixed misleading doc 2013-04-19 15:10:05 +02:00
J. David Ibáñez
611e979113 Now Repository.head returns a reference (#203)
Now Repository.head behaves like libgit2's git_repository_head, it
returns the resolved reference. These two lines are equivalent:

  ref = repo.head
  ref = repo.lookup_reference('HEAD').resolve()

Before it returned a commit.
2013-04-17 08:16:43 +02:00
J. David Ibáñez
32e460fe16 docs: complete and improve organization 2013-04-03 19:09:48 +02:00
J. David Ibáñez
b0235e70c7 Improve Index docs
And fix a refcount error through the way.
2013-01-20 12:40:31 +01:00
J. David Ibáñez
181c6ed91e docs: merge auto generated and hand writen docs 2013-01-19 17:05:36 +01:00