J. David Ibáñez
5e9c429083
Remove trailing whitespace
2013-05-24 23:08:08 +02:00
Nico von Geyso
1af00ee1bd
Merge remote-tracking branch 'upstream/master' into features/diff_refactoring
2013-05-20 14:59:37 +02:00
Nico von Geyso
60c37bd7bf
Fixed: documentation for diff_*()-Methods
2013-05-18 16:19:44 +02:00
Nico von Geyso
b4656cc99c
Merge remote-tracking branch 'upstream/master' into features/diff_refactoring
...
Conflicts:
src/tree.c
2013-05-18 15:48:27 +02:00
Nico von Geyso
bc4c32b65c
Added: documentation for Tree.diff_*-Methods
2013-05-18 15:42:04 +02:00
Andrey Devyatkin
80574613f4
Fix document generation and move example to pydoc
...
- Fix issues introduced in prev commit
- Move all documentation for Repository.walk from log.rst to
pydoc in repository.c to make it available in both html and pydoc
- Extend documentation with sort types description
2013-05-18 01:05:59 +02:00
J. David Ibáñez
672319fcc4
Merge remote-tracking branch 'heynemann/master'
2013-05-16 22:23:56 +02:00
Bernardo Heynemann
a377b32b60
Documentation for the new clone method.
...
Even though I am aware that the comment lines in pygit2/__init__.py are longer than 79 characters, there's a reason for that.
If I break them, they'll show poorly in the documentation, and in my opinion better docs trump the 80 char requirement. If you think it's still better to have less than 80 characters in the comments, I'll gladly resubmit the changes at the expense of the documentation.
2013-05-16 10:25:47 -03:00
Carlos Martín Nieto
4070c583f1
Explain what "latest libgit2" means better
...
pygit2 targets the master branch, and "latest" isn't well-defined in
this case, as libgit2's default branch is development.
2013-05-16 10:29:54 +02:00
J. David Ibáñez
d44f7aa9a9
docs: a little more
2013-05-11 15:22:28 +02:00
J. David Ibáñez
7b7bd5edb3
docs: a little more
2013-05-11 08:18:16 +02:00
J. David Ibáñez
101715bf37
docs: review, in progress
2013-05-09 14:21:04 +02:00
J. David Ibáñez
d900ee16fc
Merge remote-tracking branch 'bors/create_blob'
2013-05-05 21:47:55 +02:00
J. David Ibáñez
974f16ca69
Re-work the checkout API
...
New API:
Repository.head = refname
Repository.checkout_head(strategy)
Repository.checkout_index(strategy)
Repository.checkout_tree(treeish, strategy)
Changed API:
# Before
Repository.checkout(strategy=GIT_CHECKOUT_SAFE_CREATE, reference=None,
head=False)
# Now
Repository.checkout(refname=None, strategy=GIT_CHECKOUT_SAFE_CREATE)
2013-05-05 21:45:39 +02:00
Hervé Cauwelier
63820aa608
update documentation on creating blobs
2013-05-05 10:35:41 +02:00
J. David Ibáñez
9c0a82876b
Merge remote-tracking branch 'xtao/merge-base'
2013-05-05 00:40:21 +02:00
J. David Ibáñez
42aed417d4
Add TreeBuilder.get and remove TreeEntry.to_object
...
Also, check errors from git_tree_entry_dup
2013-05-04 00:31:03 +02:00
XTao
3474dca78f
Add merge-base method.
2013-05-04 05:45:03 +08:00
J. David Ibáñez
31659fa673
docs: fix/improve references chapter a little bit
2013-04-28 11:16:31 +02:00
J. David Ibáñez
979cda9a9a
refs: improve API ( #213 )
...
Changes:
- Reference.oid and Reference.hex removed
- Now Reference.target can be assigned an oid
2013-04-21 10:46:04 +02:00
J. David Ibáñez
8cc7a71a93
Merge branch 'oid'
2013-04-20 22:43:33 +02:00
J. David Ibáñez
e86fee5c7e
Release 0.18.1
...
Changes:
- (#203 ) Now Repository.head returns the resolved reference, not the
commit
- (#210 ) Fix refcount error in Repository.create_remote
- (#212 ) Improved diff documentation
Thanks to Jun Omae and Nico von Geyso.
2013-04-20 22:27:09 +02:00
J. David Ibáñez
37f0fed249
docs: add a section about the Oid type
2013-04-20 00:03:01 +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
072cc38607
Release v0.18.0
2013-04-16 22:46:53 +02:00
J. David Ibáñez
32e460fe16
docs: complete and improve organization
2013-04-03 19:09:48 +02:00
Valentin Haenel
2ffb39397d
syntax highlighting for shell commands in sphinx
2013-03-08 22:08:37 +01:00
J. David Ibáñez
a96d494747
Coding style
...
Including:
- Lines longer than 79 chars
- Spaces at the end of line
- Wrong indentation
- Comma not followed by an space
- C++ style comments: //
2013-03-02 11:40:42 +01:00
J. David Ibáñez
a80e989377
Merge remote-tracking branch 'esc/docs/fix_syntax_highlight'
2013-03-02 10:23:43 +01:00
Valentin Haenel
d937da9c8a
refactor the blob example
2013-02-28 21:10:23 +01:00
Valentin Haenel
ce5b884bbe
fix syntax hightlighting in docs
...
When using comments in a pycon session, comments must be prefixed with standard
console prompt (>>>) for pygments syntax highlighting to work.
2013-02-28 21:05:24 +01:00
Valentin Haenel
db02a2dbb6
document new ways to init a repo
2013-02-28 20:13:28 +01:00
J. David Ibáñez
8e40dbd314
Make doc strings look fine from the interpreter
...
Basically add a new-line character since "help(...)" does not wrap
lines automatically.
2013-02-09 23:46:37 +01:00
J. David Ibáñez
4b72047260
docs: finish first round on the repository chapter
2013-02-02 11:02:28 +01:00
J. David Ibáñez
43558261a5
Add Python 3.3 to the list of supported versions
2013-02-02 09:00:08 +01:00
J. David Ibáñez
93b8c633c3
docs: working on the repository chapter (in progress)
2013-01-27 23:49:02 +01: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
J. David Ibáñez
c1a48d514a
docs: make autodoc work without installing pygit2
2013-01-19 15:39:51 +01:00
J. David Ibáñez
e34911b63e
docs: split usage guide into several source files
2013-01-13 22:26:49 +01:00
J. David Ibáñez
c725ee7f05
Simplify README file
2013-01-13 12:13:25 +01:00
J. David Ibáñez
29708773e0
Copy docs from the readme file
2013-01-12 19:03:05 +01:00
J. David Ibáñez
0ff85b8fea
Use autodocs
2013-01-12 18:42:12 +01:00
J. David Ibáñez
139ea8d67c
sphinx-quickstart
2013-01-06 09:57:03 +01:00