Carlos Martín Nieto
4dc90f78a9
TreeEntry: add rich comparison function
...
Allow direct comparisons between TreeEntry objects, which also allows us
to use assertEqual in the sanity check test.
This fixes #305 .
2014-01-19 17:10:40 +01:00
Carlos Martín Nieto
1b473b7183
Commit: allow retrieval of the parents' ids
...
Don't force the user to load the parents in order to get their ids, but
expose a list of the ids directly.
2014-01-19 15:53:20 +01:00
Carlos Martín Nieto
5a80091c2d
Commit: allow retrieval of the tree's ID
...
Let the user retrieve the ID of the commit's tree instead of having to
load the tree just to retrieve this information.
2014-01-19 15:49:43 +01:00
Carlos Martín Nieto
bf26aaf180
Repository: allow retrieving the default signature
...
Make it easier to grab the default signature for a repository by adding
a getter at the Repository level.
2014-01-19 15:26:29 +01:00
Petr Hosek
dcc9051a8c
Support diff for blobs
2014-01-15 15:40:04 +00:00
J. David Ibáñez
cde2456327
tests: fix deprecation warning
v0.20.1
2013-12-24 10:51:02 +01:00
J. David Ibáñez
d04823c3c8
Get ready to release 0.20.1
2013-12-24 10:48:39 +01:00
J. David Ibáñez
4bbc59c574
Update changelog
2013-12-24 10:08:36 +01:00
J. David Ibáñez
9a5184ba35
Add documentation for the Walker type
2013-12-23 17:26:02 +01:00
J. David Ibáñez
46543a85d3
Docs: Fix and add missing stuff
2013-12-20 19:00:58 +01:00
Petr Hosek
3cc0662def
Test case for Walker simplify_first_parent
2013-12-20 13:28:20 +00:00
Petr Hosek
19b15ed928
Provide Walker simplify_first_parent method
2013-12-16 11:14:20 +00:00
XTao
fafb4b9072
Fix no patch diff.
2013-12-16 16:30:33 +08:00
Eric Schrijver
c6cdbba53d
Typo in README.rst: Blog → Blob
2013-12-14 16:06:40 +01:00
J. David Ibáñez
937e2822a8
merge: remove unused reference to the repository
2013-12-10 21:05:52 +01:00
J. David Ibáñez
7e2cfd7a70
Remove trailing whitespace
2013-12-10 21:00:44 +01:00
J. David Ibáñez
5d9a19ea8d
Merge remote-tracking branch 'victor/master'
2013-12-10 21:00:02 +01:00
Victor Garcia
1938147b3d
implementing merge: removing index field from merge.rst
2013-12-10 16:02:37 +01:00
Victor Garcia
0556ab0cd8
implementing merge: removing index field from MergeResult
2013-12-10 16:01:48 +01:00
J. David Ibáñez
b8e72fc272
Issue#298: Fix compilation on Windows
2013-12-10 13:41:51 +01:00
Victor Garcia
1cf6e748e5
implementing merge: some small fixes in merge.rst
2013-12-09 15:51:29 +01:00
Victor Garcia
7d9d2667e5
implementing merge: merge.rst doc and implementing MergeResult as a simple type that maps git_merge_result to it
2013-12-09 15:40:39 +01:00
Victor Garcia
3cd8fed386
implementing merge - some fixes for the pull request: MergeRestul typedef, pep7 fixes and some error checks
2013-12-09 15:38:14 +01:00
Adam Spiers
749810ac77
fix blame argument handling
...
The argument handling for the new Repository_blame had several problems:
- The call to PyArg_ParseTupleAndKeywords was missing &path, so none
of the optional arguments got parsed correctly.
- newest_commit and oldest_commit were missing type validation
against OidType.
- The opts structure was discarded rather than passed to git_blame_file.
This commit fixes these issues and adds a test case.
2013-12-09 12:03:32 +00:00
Victor Garcia
6855a599e4
implementing merge with default options - minor change
2013-12-04 23:49:26 +01:00
Victor Garcia
1f2fdca2c1
implementing merge with default options - new test
2013-12-04 20:04:02 +01:00
Victor Garcia
9955b3e67a
implementing merge with default options
2013-12-04 18:23:13 +01:00
Victor Garcia
1f5ec810ad
implementing merge with default options
2013-12-04 18:17:10 +01:00
J. David Ibáñez
82ac7c83af
Python API already sets exceptions on error
2013-12-02 16:53:21 +01:00
J. David Ibáñez
d7196e7794
PEP-7: function name in column 1
...
http://www.python.org/dev/peps/pep-0007/#code-lay-out
2013-12-02 16:34:30 +01:00
J. David Ibáñez
87724370d9
Merge remote-tracking branch 'jplana/change_refspec_api'
2013-12-02 16:26:30 +01:00
Jose Plana
6050ae021d
Fix last minute typo
2013-12-02 16:17:51 +01:00
Jose Plana
c23b6fe6f9
Merge cleanup
2013-12-02 13:45:15 +01:00
Jose Plana
05798fc5aa
Fixed some error exceptions, docs
2013-12-02 13:40:38 +01:00
J. David Ibáñez
cb3c28fc6a
Remove trailing whitespace
2013-12-02 11:07:36 +01:00
osanjose
9f4f978845
Update with master
2013-12-02 10:56:39 +01:00
Petr Hosek
e65ab19625
Provide minimal diff option
2013-11-30 23:18:19 +00:00
Jose Plana
369fa3087d
Fix methods signature
2013-11-29 19:19:54 +01:00
Jose Plana
f69eeae108
Refactor getters to become methods
2013-11-27 19:26:24 +01:00
Jose Plana
03a6465927
Fix documentation
2013-11-26 01:05:09 +01:00
Jose Plana
37ed244a40
Removed reduntant returns, fixs PEP7
2013-11-26 00:12:33 +01:00
J. David Ibáñez
cb9ffa8b11
PEP-7: Do not use C++ style // one-line comments
2013-11-25 23:01:13 +01:00
Jose Plana
41bedc05f0
Use unicode for python v3 support
2013-11-25 17:36:35 +01:00
Jose Plana
ea8901f417
Fix PEP-7
2013-11-25 14:03:37 +01:00
Jose Plana
336f042e22
Added methods to interact with the remote refspecs
2013-11-25 13:06:04 +01:00
J. David Ibáñez
e6c270fe35
Get ready to release v0.20.0
v0.20.0
2013-11-24 15:22:10 +01:00
J. David Ibáñez
c80fb4814f
Update documentation
2013-11-24 13:34:27 +01:00
J. David Ibáñez
f26d6bedfe
C coding style: indentation fixes
2013-11-24 11:49:17 +01:00
J. David Ibáñez
b51bc45c63
Merge remote-tracking branch 'xtao/multivar'
2013-11-24 10:52:22 +01:00
J. David Ibáñez
e560a89f90
Fix error handling in Repository.write
2013-11-24 10:46:49 +01:00