J. David Ibáñez
f92d38e25f
Merge remote-tracking branch 'frutiger/blob_from_iobase' into blob_from_io_base
2015-10-25 13:04:49 +01:00
Nicolas Dandrimont
ac7738bbb3
Add type attribute to TreeEntry
...
This allows complete iteration and rebuilding of a tree without hitting
the object store for every entry.
2015-09-09 21:41:00 +02:00
Masud Rahman
9cce003efe
Implements 'Repository.create_blob_fromiobase'.
...
This commit allows blobs to be constructed from implementatons of the
'RawIOBase' ABC. This allows any conformant stream implementation to be added
as a blob.
This is useful in the case where the contents of the blob would be too large to
create from memory (as 'create_blob_fromstring' allows) and avoids having to
write the data to disk (as 'create_blob_fromworkdir' allows). The latter
operation is especially useful when reading data from a network socket, since
it avoids having to first commit all the data to disk.
2015-02-10 01:28:23 -05:00
Carlos Martín Nieto
e5f6798f67
Adjust to oid -> id renaming
2014-04-01 19:47:48 +02:00
J. David Ibáñez
a794d66558
docs: document TreeBuilder.get
...
Fixes #302
2014-02-11 22:48:34 +01:00
Carlos Martín Nieto
de3dba668a
object: implement peel()
...
This simplifies getting one type of object from a higher-level one as
well as accepting a commit-ish or tree-ish.
2014-02-11 18:30:47 +01:00
J. David Ibáñez
7b1310f31b
docs: fix warnings
2014-02-04 07:52:58 +01:00
J. David Ibáñez
977c315c21
Preparing for release
2014-02-02 15:07:47 +01:00
Carlos Martín Nieto
1cc112c32f
docs: adjust to recent changes
...
It seems I have been forgetting to update the documentation with the
last few changes, so adjust to the oid -> id renaming and add missing
attributes to the listings.
2014-01-25 04:25:42 +01:00
J. David Ibáñez
c80fb4814f
Update documentation
2013-11-24 13:34:27 +01:00
Brodie Rao
3d6225d753
Merge branch 'brodie/signature-raw-name-email' into bitbucket
2013-08-19 13:41:25 -07:00
Brodie Rao
aec44c9ca2
signature: rename Signature._name/_email to Signature.raw_name/raw_email
2013-08-19 13:38:57 -07:00
Brodie Rao
b55650e093
commit: rename Commit._message to Commit.raw_message
2013-08-19 11:54:28 -07:00
Brodie Rao
298f941036
tag: add get_object() method
...
This maps to git_tag_peel().
2013-08-14 20:13:03 -07:00
J. David Ibáñez
5e9c429083
Remove trailing whitespace
2013-05-24 23:08:08 +02:00
Nico von Geyso
60c37bd7bf
Fixed: documentation for diff_*()-Methods
2013-05-18 16:19:44 +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
Hervé Cauwelier
63820aa608
update documentation on creating blobs
2013-05-05 10:35:41 +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
J. David Ibáñez
37f0fed249
docs: add a section about the Oid type
2013-04-20 00:03:01 +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
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
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
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
e34911b63e
docs: split usage guide into several source files
2013-01-13 22:26:49 +01:00