7
0
forked from pool/libgit2

Accepting request 132201 from home:cgiboudeaux:branches:devel:libraries:c_c++

Update to 0.17.0

OBS-URL: https://build.opensuse.org/request/show/132201
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgit2?expand=0&rev=12
This commit is contained in:
Ismail Dönmez
2012-08-31 16:09:32 +00:00
committed by Git OBS Bridge
parent 6e417e601d
commit e40b40b337
4 changed files with 96 additions and 4 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b84e5353ebc41e785f777a4977da9fa3eaf19f71c07eb2a2c23c2ceafb811597
size 1042613

3
libgit2-0.17.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:068eed0b8fe852a7cc55aae46d2299e9c9e3e00badc1c293d72a9dd122226018
size 2096159

View File

@@ -1,3 +1,94 @@
-------------------------------------------------------------------
Fri Aug 31 13:27:15 UTC 2012 - cgiboudeaux@gmx.com
- Update to 0.17
Attributes:
- Added function macros to check attribute values instead of having
to manually compare them
- Added support for choosing the attribute loading order (workdir files
vs index) and to skip the systems' default `.gitattributes`
- Fixed issues when fetching attribute data on bare repositories
Blob:
- Added support for creating blobs from any file on disk (not
restricted to the repository's working directory)
- Aded support for smudge filters when writing blobs to the ODB
- So far only CRLF normalization is available
Branches:
- Added a high-level branch API:
- git_branch_create
- git_branch_delete
- git_branch_list
- git_branch_move
Commit:
- Commit messages are now filtered to match Git rules (stripping
comments and adding proper whitespacing rules)
Config:
- Added support for setting and getting multivars
- Added `git_config_get_mapped` to map the value of a config
variable based on its defaults
Diff:
- Added full diff API:
- tree to tree
- index to tree
- workdir to index
- workdir to tree
- blob to blob
- Added helper functions to print the diffs as valid patchfiles
Error handling:
- New design for the error handling API, taking into consideration
the requirements of dynamic languages
Indexer:
- Added streaming packfile indexer
Merge:
- Added support for finding the merge base between two commits
Notes:
- Full git-notes support:
- git_note_read
- git_note_message/git_note_oid
- git_note_create
- git_note_remove
- git_note_free
- git_note_foreach
References:
- Added `git_reference_name_to_oid` helper to resolve
a reference to its final OID
- Added `git_reference_cmp` to compare two references with
a stable order
Remotes:
- Added support for writing and saving remotes
- `git_remote_add`
- `git_remote_save`
- Setters for all the attributes of a remote
- Switched remote download to the new streaming packfile indexer
- Fixed fetch on HTTP and Git under Windows
- Added `git_remote_supported_url` helper to check if a protocol
can be accessed by the library
- Added `git_remote_list`
Repository:
- Made `git_repository_open` smarter when finding the `.git` folder.
- Added `git_repository_open_ext` with extra options when
opening a repository
Revwalk:
- Added support for pushing/hiding several references through a glob
- Added helper to push/hide the current HEAD to the walker
- Added helper to push/hide a single reference to the walker
Status:
- Greatly improved Status implementation using the new `diff` code
as a backend
Submodules:
- Added a partial submodules API to get information about a
submodule and list all the submodules in a repository
- git_submodule_foreach
- git_submodule_lookup
Tag:
- Added `git_tag_peel` helper to peel a tag to its pointed object
- Tag messages are now filtered to match Git rules (stripping comments
and adding proper whitespacing rules)
Tree:
- Killed the old `git_tree_diff` API, which is replaced by the
new diff code.
-------------------------------------------------------------------
Mon May 7 10:15:10 UTC 2012 - idonmez@suse.com

View File

@@ -18,7 +18,7 @@
Name: libgit2
Version: 0.16.0
Version: 0.17.0
Release: 0
Summary: C git library
License: GPL-2.0-with-GCC-exception
@@ -27,6 +27,7 @@ Url: http://libgit2.github.com/
Source0: https://github.com/downloads/libgit2/libgit2/libgit2-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: pkgconfig
BuildRequires: python-base
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
BuildRequires: openssl-devel