Skip to content

Commit 031f785

Browse files
committed
Update changelog
1 parent 23a4dd6 commit 031f785

File tree

2 files changed

+46
-3
lines changed

2 files changed

+46
-3
lines changed

CHANGELOG.rst

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,51 @@
1-
1.2.2 (UNRELEASED)
1+
1.3.0 (UNRELEASED)
22
-------------------------
33

4-
- New unit tests
4+
- New ``Repository.add_submodule(...)``
5+
`#1011 <https://github.com/libgit2/pygit2/pull/1011>`_
6+
7+
- New ``Repository.applies(...)``
8+
`#1019 <https://github.com/libgit2/pygit2/pull/1019>`_
9+
10+
- New ``Repository.revparse(...)`` and ``Repository.revparse_ext(...)``
11+
`#1022 <https://github.com/libgit2/pygit2/pull/1022>`_
12+
13+
- New optional ``flags`` and ``file_flags`` arguments in
14+
``Repository.merge_commits`` and ``Repository.merge_trees``
15+
`#1008 <https://github.com/libgit2/pygit2/pull/1008>`_
16+
17+
- New ``Reference.raw_target``, ``Repository.raw_listall_branches(...)`` and
18+
``Repository.raw_listall_references()``; allow bytes in
19+
``Repository.lookup_branch(...)`` and ``Repository.diff(...)``
20+
`#1029 <https://github.com/libgit2/pygit2/pull/1029>`_
21+
22+
- New ``GIT_BLAME_FIRST_PARENT`` and ``GIT_BLAME_USE_MAILMAP`` constants
23+
`#1031 <https://github.com/libgit2/pygit2/pull/1031>`_
24+
25+
- New ``IndexEntry`` supports ``repr()``, ``str()``, ``==`` and ``!=``
26+
`#1009 <https://github.com/libgit2/pygit2/pull/1009>`_
27+
28+
- New ``Object`` supports ``repr()``
29+
`#1022 <https://github.com/libgit2/pygit2/pull/1022>`_
30+
31+
- New accept tuples of strings (not only lists) in a number of places
32+
`#1025 <https://github.com/libgit2/pygit2/pull/1025>`_
33+
34+
- Fix compatibility with old macOS 10.9
35+
`#1026 <https://github.com/libgit2/pygit2/issues/1026>`_
36+
`#1027 <https://github.com/libgit2/pygit2/pull/1027>`_
37+
38+
- Fix check argument type in ``Repository.apply(...)``
39+
`#1033 <https://github.com/libgit2/pygit2/issues/1033>`_
40+
41+
- Fix raise exception if error in ``Repository.listall_submodules()`` commit 32133974
42+
43+
- Fix a couple of refcount errors in ``OdbBackend.refresh()`` and
44+
``Worktree_is_prunable`` commit fed0c19c
45+
46+
- Unit tests
547
`#800 <https://github.com/libgit2/pygit2/issues/800>`_
48+
`#1015 <https://github.com/libgit2/pygit2/pull/1015>`_
649

750
- Documentation
851
`#705 <https://github.com/libgit2/pygit2/pull/705>`_

pygit2/repository.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def add_submodule(self, url, path, link=True, callbacks=None):
101101
102102
link
103103
Should workdir contain a gitlink to the repo in .git/modules vs. repo directly in workdir.
104-
"""
104+
"""
105105
csub = ffi.new('git_submodule **')
106106
curl = ffi.new('char[]', to_bytes(url))
107107
cpath = ffi.new('char[]', to_bytes(path))

0 commit comments

Comments
 (0)