W. Trevor King
8e19102815
index: Add NULL stats
argument to git_index_read_tree call.
...
This catches up with changes in libgit2:
commit 4bf5115642b64851f9a32a8157010b588bf44103
Author: Ben Straub <bstraub@github.com>
Date: Mon Jul 30 14:52:46 2012 -0700
Enable stats on git_index_read_tree.
Replace with the contents of
git_index_read_tree_with_stats() and improve
documentation comments.
2012-09-13 13:53:37 -04:00
W. Trevor King
91e211d4f9
error: replace GIT_REVWALKOVER
with GIT_ITEROVER
.
...
This catches up with changes in libgit2:
commit f335ecd6e126aa9dea28786522c0e6ce71596e91
Author: Russell Belfer <rb@github.com>
Date: Thu Aug 30 14:24:16 2012 -0700
2012-09-13 13:48:00 -04:00
J. David Ibáñez
8ca19bb723
Merge remote-tracking branch 'encukou/git_signature_now'
2012-09-08 08:38:11 +02:00
Petr Viktorin
97aba6b14b
Make time and offset arguments to Signature optional
...
If these are left blank, use git_signature_now to insert the current time.
Specifying one but not the other causes a TypeError.
Test inlcluded.
2012-09-07 23:51:36 +02:00
Eric Schrijver
32ff474dc1
More obvious diff example
...
By diffing HEAD~1 with HEAD, we show the effect of the latest commit.
The provided example diffed HEAD with HEAD~1, which shows a diff
that goes back in time.
2012-09-05 03:03:54 +03:00
J. David Ibáñez
dc1cfe80e6
Merge remote-tracking branch 'edavis/fix-diff-example'
2012-08-28 10:30:36 +02:00
Eric Davis
fb49990640
docs: Fix 'Diff' example
...
t1 should point to a tree, not a commit.
2012-08-25 20:30:52 -07:00
Alex Chamberlain
1a2dd95575
Added unit test for Repository.create_blob_fromfile
2012-08-24 10:47:12 +01:00
Alex Chamberlain
7e3b21ba55
Added Repository.create_blob_fromfile
2012-08-23 12:47:12 +01:00
Carlos Martín Nieto
6e06863722
diff: expose the filemode through Hunk
2012-08-15 21:05:12 +02:00
Carlos Martín Nieto
f3dab28082
diff: add old and new OID values to Hunk
...
These can be important, and are necessary to create a patch from this
data.
2012-08-15 20:37:43 +02:00
Carlos Martín Nieto
1138949a69
diff: make sure malloc succeeds
2012-08-15 20:37:43 +02:00
Carlos Martín Nieto
11d0c9a30f
diff: expose the hunk header
...
We can rebuild it from the data we already have, but this will allow
us to get the function headers in it once the library supports it.
2012-08-15 20:07:49 +02:00
Carlos Martín Nieto
db35bda219
Run the diff tests
2012-08-15 19:54:59 +02:00
J. David Ibáñez
211e71235c
Merge remote-tracking branch 'carlos/less-work'
2012-08-07 10:20:17 +02:00
Carlos Martín Nieto
f94fe00673
travis: do a shallow clone of libgit2 and don't build the tests
...
This just adds time to the tests. We're not testing the library, but
the bindings, so do a shallow clone and stop cmake from building clar.
2012-08-06 18:13:26 +02:00
Carlos Martín Nieto
578054b97b
config test: the loop should return 0
...
Returning anything else makes the loop stop, which stops us from
getting to 'core.bare' which the test is looking for.
2012-08-06 17:54:26 +02:00
J. David Ibáñez
0821e7bf00
Release v0.17.2
...
Now the MANIFEST file is automatically built from Git. This fixes the
source distribution.
v0.17.2
2012-07-24 12:40:26 +02:00
J. David Ibáñez
06969ba874
Generate the MANIFEST file from git
2012-07-24 12:40:02 +02:00
J. David Ibáñez
5f4d98d7dc
Fix the manifest file (issue #115 )
...
The include directory was missing, so pygit2 could not be built.
Test data files were also missing.
The current fix is a hack, just generated the MANIFEST file using
"git ls-files", excluding hidden files, and committed that. For
easiest maintenance, the MANIFEST file should be generated by
setup.py using "git ls-files".
2012-07-23 17:21:55 +02:00
J. David Ibáñez
a1716a3a92
Release v0.17.1
...
New features:
- Support for diffs
- Support for reflog
- Support for config files
- Add shortcut 'Repository.head'
Other changes:
- Improved support for Windows
- Improved documentation
- Refactoring: split the code into smaller files
- Refactoring: allow to add helper code written in Python
- Use Travis Continous-Integration service
http://travis-ci.org/#!/libgit2/pygit2
Thanks to András Veres-Szentkirályi, Christian Boos, Martin Lenders,
Nico von Geyso, Petr Hosek and pistacchio.
v0.17.1
2012-07-18 12:24:09 +02:00
J. David Ibáñez
0285470f45
Add the list of authors to the readme file
2012-07-18 12:21:24 +02:00
J. David Ibáñez
edcd803e7e
Remove the __authors__ var from py files
2012-07-18 12:12:04 +02:00
J. David Ibáñez
6195491596
Add/update copyright header of each file
...
And update my email address.
2012-07-18 12:07:17 +02:00
J. David Ibáñez
c7a9d4ca42
Add an AUTHORS file
2012-07-18 11:09:33 +02:00
J. David Ibáñez
bcf0bbd46f
Update FSF address (issue #114 )
2012-07-17 15:44:37 +02:00
J. David Ibáñez
7ec660a252
Add .mailmap file
2012-06-18 12:07:30 -03:00
J. David Ibáñez
ec8047a8c5
Fix errors detected by pyflakes
2012-06-18 11:36:27 -03:00
J. David Ibáñez
1f354149a3
tests: don't leave test files behind
2012-06-18 11:28:19 -03:00
J. David Ibáñez
d27cf0b687
style: remove trailing white-spaces
2012-06-18 11:22:56 -03:00
J. David Ibáñez
9ba2324535
Fix unit tests for Python 2.6
2012-06-18 11:08:46 -03:00
authmillenon
d2a27eddf1
Initialize variables in Config_set_multivar with NULL
2012-06-15 16:31:38 +02:00
authmillenon
b6b4007ffd
Fixed bug in test_add.
2012-06-15 14:14:22 +02:00
András Veres-Szentkirályi
e31089bf56
documented create_commit
in README
2012-06-13 11:24:53 +02:00
J. David Ibáñez
cf248dc6bf
Merge remote branch 'cboos/windows-build-instructions'
2012-06-10 10:44:24 -03:00
Christian Boos
87827a6d92
windows: detailed build instructions
...
The default build of libgit2 with `__stdcall` calling
convention is inadequate. We need to use a more standard
`__cdecl` build, which can be obtained by specifying
`-DSTDCALL=OFF` while configuring libgit2.
Also mention the LIBGIT2 environment variable (2b4e5504).
2012-06-09 16:43:47 +02:00
Martin Lenders
3df090c761
Implement getting and setting of multivars
2012-06-08 18:34:54 +02:00
Martin Lenders
1acd488c68
Wrap git_config_foreach in Config
2012-06-08 18:34:54 +02:00
Martin Lenders
e126b09380
Implement dictionary-like behaviour for Config
2012-06-08 18:34:54 +02:00
Martin Lenders
e77d248713
Add back reference from Repository to Config
2012-06-08 18:34:54 +02:00
Martin Lenders
fcacea310b
Implement addition of files to Config
2012-06-08 18:34:54 +02:00
Martin Lenders
068b833c87
Add getter for global and system config
2012-06-08 18:34:54 +02:00
Martin Lenders
c4d17b759b
Create Config type
2012-06-08 18:34:54 +02:00
J. David Ibáñez
bffd195907
Merge remote branch 'cboos/fix-test-asserts-for-python26'
2012-06-07 19:47:32 -03:00
Christian Boos
6859e4b02a
ci: add all Python versions listed as supported in README.rst
2012-06-06 21:52:13 +02:00
Christian Boos
38d5bf03ad
tests: new fancy asserts are for Python 2.7 only
2012-06-06 15:58:07 +02:00
Christian Boos
c4a1e2ac00
fix windows VC9 build
...
Move variable declarations to the top of the functions.
2012-06-05 10:17:31 +02:00
pistacchio
872f4dbd6d
solved issue 100 of the main repository
2012-05-31 15:42:28 +02:00
Nico von Geyso
785108e771
updated README (diff and RefLog)
2012-05-31 14:46:07 +02:00
J. David Ibáñez
1e1750f8da
Merge remote branch 'perth/master'
2012-05-31 13:32:25 +02:00