]> git.proxmox.com Git - libgit2.git/log
libgit2.git
12 years agoFix makefile
Chris Young [Sat, 9 Jun 2012 11:52:49 +0000 (12:52 +0100)]
Fix makefile

12 years agoDon't use the PPC native SHA1 :( CMake is refusing to acknowledge the sha1ppc.S...
Chris Young [Fri, 8 Jun 2012 18:55:04 +0000 (19:55 +0100)]
Don't use the PPC native SHA1 :(  CMake is refusing to acknowledge the sha1ppc.S ppc asm code.

12 years agoRe-add the ability to select the PowerPC SHA1 function
Chris Young [Fri, 8 Jun 2012 18:37:24 +0000 (19:37 +0100)]
Re-add the ability to select the PowerPC SHA1 function

12 years agoGeneric needs compat files
Chris Young [Fri, 8 Jun 2012 18:15:11 +0000 (19:15 +0100)]
Generic needs compat files

12 years agoOS4 compatibility
Chris Young [Fri, 8 Jun 2012 17:57:35 +0000 (18:57 +0100)]
OS4 compatibility

12 years agoFix double-defines when using GIT_OLD_ERRORS
Chris Young [Thu, 7 Jun 2012 22:13:39 +0000 (23:13 +0100)]
Fix double-defines when using GIT_OLD_ERRORS

12 years agoNetwork byte order is big-endian - the way it should be :)
Chris Young [Thu, 7 Jun 2012 20:56:19 +0000 (21:56 +0100)]
Network byte order is big-endian - the way it should be :)

12 years agorandom page size for os4
Chris Young [Thu, 7 Jun 2012 20:40:07 +0000 (21:40 +0100)]
random page size for os4

12 years agohorrid gethostbyname compatibility
Chris Young [Thu, 7 Jun 2012 20:26:39 +0000 (21:26 +0100)]
horrid gethostbyname compatibility

12 years agono fnmatch.h
Chris Young [Thu, 7 Jun 2012 19:40:34 +0000 (20:40 +0100)]
no fnmatch.h

12 years agoforce disable of openssl, confusing cross-compiler
Chris Young [Thu, 7 Jun 2012 19:40:03 +0000 (20:40 +0100)]
force disable of openssl, confusing cross-compiler

12 years agoMerge remote-tracking branch 'source/development' into update-test
Chris Young [Thu, 7 Jun 2012 19:29:22 +0000 (20:29 +0100)]
Merge remote-tracking branch 'source/development' into update-test
Merging main libgit2!
Conflicts:
CMakeLists.txt
src/unix/map.c

12 years agoMerge pull request #704 from nulltoken/topic/blob_fromchunks
Vicent Martí [Thu, 7 Jun 2012 18:34:48 +0000 (11:34 -0700)]
Merge pull request #704 from nulltoken/topic/blob_fromchunks

Add the ability to create blob given a provider of chunks of bytes

12 years agoblob: add git_blob_create_fromchunks()
nulltoken [Sun, 27 May 2012 13:00:05 +0000 (15:00 +0200)]
blob: add git_blob_create_fromchunks()

12 years agoMerge pull request #752 from nulltoken/fix/warning
Vicent Martí [Thu, 7 Jun 2012 16:44:08 +0000 (09:44 -0700)]
Merge pull request #752 from nulltoken/fix/warning

Fix compilation warning and failing test

12 years agoMerge pull request #751 from libgit2/8bit-filename-status
Vicent Martí [Thu, 7 Jun 2012 16:37:23 +0000 (09:37 -0700)]
Merge pull request #751 from libgit2/8bit-filename-status

git_status_file returns GIT_ENOTFOUND for "域名检测工具.exe" (and similarly named files)

12 years agoFix git_status_file for files that start with a character > 0x7f
Adam Roben [Thu, 7 Jun 2012 13:50:19 +0000 (09:50 -0400)]
Fix git_status_file for files that start with a character > 0x7f

git_status_file would always return GIT_ENOTFOUND for these files.

The underlying bug was that git__strcmp_cb, which is used by
git_path_with_stat_cmp to sort entries in the working directory,
compares strings based on unsigned chars (this is confirmed by the
strcmp(3) manpage), while git__prefixcmp, which is used by
workdir_iterator__entry_cmp to search for a path in the working
directory, compares strings based on char. So the sort puts this path at
the end of the list, while the search expects it to be at the beginning.

The fix was simply to make git__prefixcmp compare using unsigned chars,
just like strcmp(3). The rest of the change is just adding/updating
tests.

12 years agoIngore clar_main.c.rule
Adam Roben [Thu, 7 Jun 2012 13:49:52 +0000 (09:49 -0400)]
Ingore clar_main.c.rule

12 years agotests: fix assertion
nulltoken [Thu, 7 Jun 2012 12:09:25 +0000 (14:09 +0200)]
tests: fix assertion

12 years agoFix compilation warning
nulltoken [Thu, 7 Jun 2012 11:36:28 +0000 (13:36 +0200)]
Fix compilation warning

12 years agoDon't include arpa/inet.h on Windows
Carlos Martín Nieto [Wed, 6 Jun 2012 09:00:15 +0000 (11:00 +0200)]
Don't include arpa/inet.h on Windows

12 years agotransports: fix buglet
Michael Schubert [Tue, 5 Jun 2012 21:03:06 +0000 (23:03 +0200)]
transports: fix buglet

12 years agoMerge pull request #697 from carlosmn/ssl
Vicent Martí [Tue, 5 Jun 2012 20:53:33 +0000 (13:53 -0700)]
Merge pull request #697 from carlosmn/ssl

Add HTTPS support

12 years agoMerge pull request #747 from nulltoken/topic/init-filemode
Vicent Martí [Tue, 5 Jun 2012 20:41:13 +0000 (13:41 -0700)]
Merge pull request #747 from nulltoken/topic/init-filemode

Make git_repository_init() value "core.filemode" and "core.ignorecase"

12 years agorepository: make git_repository_init() value the core.ignorecase config entry
nulltoken [Tue, 5 Jun 2012 12:29:10 +0000 (14:29 +0200)]
repository: make git_repository_init() value the core.ignorecase config entry

12 years agoMerge pull request #738 from nacho/development
Vicent Martí [Tue, 5 Jun 2012 20:18:29 +0000 (13:18 -0700)]
Merge pull request #738 from nacho/development

libgit2-glib bindings moved to gnome servers

12 years agotests: Fix warning with nested comments
Vicent Marti [Tue, 5 Jun 2012 20:16:08 +0000 (22:16 +0200)]
tests: Fix warning with nested comments

12 years agoMerge pull request #714 from schu/config-enotfound
Vicent Martí [Tue, 5 Jun 2012 20:12:36 +0000 (13:12 -0700)]
Merge pull request #714 from schu/config-enotfound

config: do not set an error for GIT_ENOTFOUND

12 years agorepository: make git_repository_init() value the core.filemode config entry
nulltoken [Tue, 5 Jun 2012 11:56:44 +0000 (13:56 +0200)]
repository: make git_repository_init() value the core.filemode config entry

12 years agoOS4 is PPC
Chris Young [Tue, 5 Jun 2012 11:07:08 +0000 (12:07 +0100)]
OS4 is PPC

12 years agoAssume this is irrelevant for now
Chris Young [Tue, 5 Jun 2012 11:06:40 +0000 (12:06 +0100)]
Assume this is irrelevant for now

12 years agoRequired include for OS4 to typedef int64_t
Chris Young [Tue, 5 Jun 2012 10:47:17 +0000 (11:47 +0100)]
Required include for OS4 to typedef int64_t

12 years agoForce not to use openssl, as confusing cross-compiler
U-Poseidon\Chris [Tue, 5 Jun 2012 10:41:43 +0000 (11:41 +0100)]
Force not to use openssl, as confusing cross-compiler
t to use openssl, as confusing cross-compiler
t to use openssl, as confusing cross-compiler

ss

 Changes to be committed:
   (use "git reset HEAD <file>..." to unstage)

modified:   CMakeLists.txt

12 years agoMerge pull request #737 from nulltoken/topic/git_remote_add_refspec
Carlos Martín Nieto [Mon, 4 Jun 2012 22:10:29 +0000 (15:10 -0700)]
Merge pull request #737 from nulltoken/topic/git_remote_add_refspec

Remotes and refspecs

12 years agoremote: Make git_remote_add() generate a default refspec with a force update specifier
nulltoken [Tue, 29 May 2012 22:50:39 +0000 (00:50 +0200)]
remote: Make git_remote_add() generate a default refspec with a force update specifier

12 years agoMerge pull request #739 from arthurschreiber/fix_remote_connected
Russell Belfer [Mon, 4 Jun 2012 21:31:53 +0000 (14:31 -0700)]
Merge pull request #739 from arthurschreiber/fix_remote_connected

Fix git_remote_connected

12 years agoFix git_close/http_close/local_close to set the transport's connected attribute to 0.
Arthur Schreiber [Sat, 2 Jun 2012 14:52:22 +0000 (16:52 +0200)]
Fix git_close/http_close/local_close to set the transport's connected attribute to 0.

12 years agoAdd a failing test case for git_remote_disconnect/git_remote_connected.
Arthur Schreiber [Sat, 2 Jun 2012 14:48:12 +0000 (16:48 +0200)]
Add a failing test case for git_remote_disconnect/git_remote_connected.

12 years agoconfig: set an error message when asked to delete a non-existent key
Carlos Martín Nieto [Fri, 1 Jun 2012 09:48:58 +0000 (11:48 +0200)]
config: set an error message when asked to delete a non-existent key

12 years agolibgit2-glib bindings moved to gnome servers
Ignacio Casal Quinteiro [Thu, 31 May 2012 07:56:05 +0000 (09:56 +0200)]
libgit2-glib bindings moved to gnome servers

12 years agorefspec: expose the force update specifier through git_refspec_force() accessor
nulltoken [Tue, 29 May 2012 22:27:22 +0000 (00:27 +0200)]
refspec: expose the force update specifier through git_refspec_force() accessor

12 years agoMerge pull request #735 from gregier/development
Russell Belfer [Tue, 29 May 2012 16:59:55 +0000 (09:59 -0700)]
Merge pull request #735 from gregier/development

Fix checking for the presence of a flag

12 years agoFix checking for the presence of a flag
Garrett Regier [Sun, 27 May 2012 23:47:56 +0000 (16:47 -0700)]
Fix checking for the presence of a flag

12 years agofilebuf: add git_filebuf_flush()
nulltoken [Sun, 27 May 2012 17:54:53 +0000 (19:54 +0200)]
filebuf: add git_filebuf_flush()

12 years agoMerge pull request #734 from scottjg/travis-mingw
Vicent Martí [Sun, 27 May 2012 03:08:04 +0000 (20:08 -0700)]
Merge pull request #734 from scottjg/travis-mingw

Enable mingw cross-compilation in travis-ci

12 years agoEnable mingw cross-compile stage in travis-ci
Scott J. Goldman [Sun, 27 May 2012 01:23:54 +0000 (18:23 -0700)]
Enable mingw cross-compile stage in travis-ci

12 years agoRefactor CMakeLists.txt for mingw cross-compile
Scott J. Goldman [Sun, 27 May 2012 01:20:33 +0000 (18:20 -0700)]
Refactor CMakeLists.txt for mingw cross-compile

Two things:
1) By default, Linux CMake puts -fPIC on the link line. So we remove that
for MINGW to avoid warnings that it will be ignored.
2) Similarly, move -fvisibility=hidden flag to be for non-mingw
compilation only to avoid warnings that it will be ignored.

12 years agoUse lowercase names for Windows headers
Scott J. Goldman [Sun, 27 May 2012 01:16:13 +0000 (18:16 -0700)]
Use lowercase names for Windows headers

Otherwise we can't cross-compile on Linux.

12 years agossl: allow skipping the server certificate check
Carlos Martín Nieto [Sat, 26 May 2012 19:17:08 +0000 (21:17 +0200)]
ssl: allow skipping the server certificate check

Sometimes it's useful not to perform the check. Allow it to be
configurable.

12 years agoMerge pull request #732 from schu/fix-gcc-nonnull
Vicent Martí [Sat, 26 May 2012 17:38:24 +0000 (10:38 -0700)]
Merge pull request #732 from schu/fix-gcc-nonnull

tests-clar/core: fix non-null warning

12 years agotests-clar/core: fix non-null warning
Michael Schubert [Sat, 26 May 2012 12:59:07 +0000 (14:59 +0200)]
tests-clar/core: fix non-null warning

gcc 4.7.0 apparently doesn't see that we won't call setenv with NULL as
second argument.

12 years agoMake errors for system and global files consistent
Russell Belfer [Fri, 25 May 2012 16:44:56 +0000 (09:44 -0700)]
Make errors for system and global files consistent

The error codes from failed lookups of system and global files
on Windows were not consistent with the codes returned on other
platforms.  This makes the error detection patterns match and
adds a unit test for the various errors.

12 years agoMerge pull request #729 from arrbee/fix-728
Vicent Martí [Fri, 25 May 2012 00:43:17 +0000 (17:43 -0700)]
Merge pull request #729 from arrbee/fix-728

Fix bugs for status

12 years agoFix bugs for status with spaces and reloaded attrs
Russell Belfer [Fri, 25 May 2012 00:14:56 +0000 (17:14 -0700)]
Fix bugs for status with spaces and reloaded attrs

This fixes two bugs:

* Issue #728 where git_status_file was not working for files
  that contain spaces.  This was caused by reusing the "fnmatch"
  parsing code from ignore and attribute files to interpret the
  "pathspec" that constrained the files to apply the status to.
  In that code, unescaped whitespace was considered terminal to
  the pattern, so a file with internal whitespace was excluded
  from the matched files.  The fix was to add a mode to that code
  that allows spaces and tabs inside patterns.  This mode only
  comes into play when parsing in-memory strings.

* The other issue was undetected, but it was in the recently
  added code to reload gitattributes / gitignores when they were
  changed on disk.  That code was not clearing out the old values
  from the cached file content before reparsing which meant that
  newly added patterns would be read in, but deleted patterns
  would not be removed.  The fix was to clear the vector of
  patterns in a cached file before reparsing the file.

12 years agoMerge pull request #727 from libgit2/env-expansion
Vicent Martí [Thu, 24 May 2012 22:12:18 +0000 (15:12 -0700)]
Merge pull request #727 from libgit2/env-expansion

windows: Properly expand all environment variables

12 years agoClean up system file finding tests on Win32
Russell Belfer [Thu, 24 May 2012 22:08:55 +0000 (15:08 -0700)]
Clean up system file finding tests on Win32

12 years agowindows: Properly expand all environment variables
Vicent Martí [Thu, 24 May 2012 21:04:41 +0000 (23:04 +0200)]
windows: Properly expand all environment variables

12 years agoMerge pull request #726 from arrbee/utf16-home-dir
Russell Belfer [Thu, 24 May 2012 20:56:03 +0000 (13:56 -0700)]
Merge pull request #726 from arrbee/utf16-home-dir

Get user's home dir in UTF-16 clean manner

12 years agoFix bugs in UTF-8 <-> UTF-16 conversion
Russell Belfer [Thu, 24 May 2012 20:44:24 +0000 (13:44 -0700)]
Fix bugs in UTF-8 <-> UTF-16 conversion

The function to convert UTF-16 to UTF-8 was only allocating a
buffer of wcslen(utf16str) bytes for the UTF-8 string, but that
is not sufficient if you have multibyte characters, and so when
those occured, the conversion was failing.  This updates the
conversion functions to use the Win APIs to calculate the correct
buffer lengths.

Also fixes a comparison in the unit tests that would fail if
you did not have a particular environment variable set.

12 years agorepository: default to core.bare = false if it's not set
Carlos Martín Nieto [Thu, 24 May 2012 19:49:43 +0000 (21:49 +0200)]
repository: default to core.bare = false if it's not set

We used to consider a missing core.bare option to mean that the
repository was corrupt. This is too strict. Consider it a non-bare
repository if it's not set.

12 years agoGet user's home dir in UTF-16 clean manner
Russell Belfer [Thu, 24 May 2012 19:45:20 +0000 (12:45 -0700)]
Get user's home dir in UTF-16 clean manner

On Windows, we are having problems with home directories
that have non-ascii characters in them.  This rewrites the
relevant code to fetch environment variables as UTF-16 and
then explicitly map then into UTF-8 for our internal usage.

12 years agoexamples/network: consistently use tabs for indentation
Carlos Martín Nieto [Thu, 24 May 2012 14:41:53 +0000 (16:41 +0200)]
examples/network: consistently use tabs for indentation

12 years agoREADME: use docs/rel-notes/ for the release notes
Carlos Martín Nieto [Thu, 24 May 2012 11:38:25 +0000 (13:38 +0200)]
README: use docs/rel-notes/ for the release notes

12 years agoMerge pull request #720 from nulltoken/fix/libgit2sharp_issue_153
Vicent Martí [Wed, 23 May 2012 22:05:03 +0000 (15:05 -0700)]
Merge pull request #720 from nulltoken/fix/libgit2sharp_issue_153

Make git_futils_mkdir_r() able to cope with Windows network paths

12 years agoMerge pull request #712 from waywardmonkeys/embedded_makefile_fixes
Vicent Martí [Wed, 23 May 2012 22:03:07 +0000 (15:03 -0700)]
Merge pull request #712 from waywardmonkeys/embedded_makefile_fixes

Embedded makefile fixes

12 years agoMerge pull request #716 from scottjg/examples-cleanup
Vicent Martí [Wed, 23 May 2012 22:01:52 +0000 (15:01 -0700)]
Merge pull request #716 from scottjg/examples-cleanup

Build fixes for examples/

12 years agoMerge pull request #723 from carlosmn/rel-notes
Vicent Martí [Wed, 23 May 2012 17:10:04 +0000 (10:10 -0700)]
Merge pull request #723 from carlosmn/rel-notes

Add notice about release notes

12 years agoREADME: add rules about writing release notes as they happen
Carlos Martín Nieto [Wed, 23 May 2012 15:12:14 +0000 (17:12 +0200)]
README: add rules about writing release notes as they happen

12 years agoCONVENTIONS: Update error code names
Carlos Martín Nieto [Wed, 23 May 2012 14:42:02 +0000 (16:42 +0200)]
CONVENTIONS: Update error code names

12 years agoRemove left-over debugging output
Carlos Martín Nieto [Wed, 23 May 2012 10:59:21 +0000 (12:59 +0200)]
Remove left-over debugging output

12 years agofileops: Make git_futils_mkdir_r() able to cope with Windows network paths
nulltoken [Wed, 23 May 2012 10:05:48 +0000 (12:05 +0200)]
fileops: Make git_futils_mkdir_r() able to cope with Windows network paths

Partially fix libgit2/libgit2sharp#153

12 years agoAdd CMake build for examples / add them to Travis
Scott J. Goldman [Sun, 20 May 2012 07:46:48 +0000 (00:46 -0700)]
Add CMake build for examples / add them to Travis

By default, they are still not built, but hopefully, now that Travis is
building them, this will help stave off some of the bitrot.

12 years agoFix examples/general.c compilation
Scott J. Goldman [Sun, 20 May 2012 07:40:31 +0000 (00:40 -0700)]
Fix examples/general.c compilation

git_reference_listall() -> git reference_list()

12 years agoMerge pull request #715 from schu/cleanup-misc
Vicent Martí [Sat, 19 May 2012 17:48:15 +0000 (10:48 -0700)]
Merge pull request #715 from schu/cleanup-misc

Cleanup

12 years agoconfig: do not set an error for GIT_ENOTFOUND
Michael Schubert [Sat, 19 May 2012 16:13:38 +0000 (18:13 +0200)]
config: do not set an error for GIT_ENOTFOUND

An unset config variable isn't bad per se -- let the call site set an
error in case GIT_ENOTFOUND isn't acceptable.

12 years agoCleanup
Michael Schubert [Sat, 19 May 2012 11:20:55 +0000 (13:20 +0200)]
Cleanup

* indexer: remove leftover printf

* commit: remove unused macros COMMIT_BASIC_PARSE, COMMIT_FULL_PARSE
  and COMMIT_PRINT

12 years agossl: look up the last CN the alternative names don't match
Carlos Martín Nieto [Thu, 17 May 2012 21:57:30 +0000 (23:57 +0200)]
ssl: look up the last CN the alternative names don't match

12 years agossl: add support for certificates issues to an IP address
Carlos Martín Nieto [Thu, 17 May 2012 20:22:05 +0000 (22:22 +0200)]
ssl: add support for certificates issues to an IP address

12 years agossl: remove GnuTLS support
Carlos Martín Nieto [Thu, 17 May 2012 19:40:20 +0000 (21:40 +0200)]
ssl: remove GnuTLS support

It's too much work for now to redo everything.

Move the ssl context struct to transport.h

12 years agossl: match host names according to RFC 2818 (HTTP over TLS)
Carlos Martín Nieto [Thu, 17 May 2012 19:16:59 +0000 (21:16 +0200)]
ssl: match host names according to RFC 2818 (HTTP over TLS)

12 years agossl: check certificates against the system's trusted CAs
Carlos Martín Nieto [Thu, 17 May 2012 15:56:49 +0000 (17:56 +0200)]
ssl: check certificates against the system's trusted CAs

12 years agossl: teardown the connection on close
Carlos Martín Nieto [Thu, 3 May 2012 12:07:55 +0000 (14:07 +0200)]
ssl: teardown the connection on close

This should help us free some resources, though the libraries do keep
some buffers allocated regardless.

12 years agohttps: make it work with OpenSSL as well
Carlos Martín Nieto [Mon, 30 Apr 2012 23:50:26 +0000 (01:50 +0200)]
https: make it work with OpenSSL as well

Add specific functions that use OpenSSL instead of GnuTLS

12 years agohttp: add https support when GnuTLS is available
Carlos Martín Nieto [Mon, 30 Apr 2012 22:05:25 +0000 (00:05 +0200)]
http: add https support when GnuTLS is available

If it's not available, an error saying so will be returned when trying
to use a https:// URL.

This also unifies a lot of the network code to use git_transport in
many places instead of an socket descriptor.

12 years agoMerge pull request #713 from waywardmonkeys/spelling
Vicent Martí [Sat, 19 May 2012 14:10:22 +0000 (07:10 -0700)]
Merge pull request #713 from waywardmonkeys/spelling

Fix spelling errors.

12 years agoFix spelling errors.
Bruce Mitchener [Sat, 19 May 2012 13:24:55 +0000 (20:24 +0700)]
Fix spelling errors.

12 years agoAllow passing additional defines and cflags to Makefile.embed.
Bruce Mitchener [Sat, 19 May 2012 11:06:19 +0000 (18:06 +0700)]
Allow passing additional defines and cflags to Makefile.embed.

12 years agoBuild xdiff as well in Makefile.embed.
Bruce Mitchener [Sat, 19 May 2012 11:05:56 +0000 (18:05 +0700)]
Build xdiff as well in Makefile.embed.

12 years agolibgit2 v0.17.0 "Lord of Diffstruction"
Vicent Marti [Fri, 18 May 2012 23:40:46 +0000 (01:40 +0200)]
libgit2 v0.17.0 "Lord of Diffstruction"

Welcome to yet another libgit2 release, this one being the
biggest we've shipped so far. Highlights on this release
include diff, branches, notes and submodules support. The new
diff API is shiny and powerful. Check it out.

Apologies, one more time, to all the early adopters for the
breaking API changes. We've been iterating on the error
handling for the library until we reached its current state,
which we believe it's significantly more usable both for normal
users and for developers of bindings to other languages.
Also, we've renamed a few legacy calls to ensure that the whole
external API uses a consistent naming scheme.

As always, check the API docs for the full list of new API calls
and backwards-incompatible changes.

http://libgit2.github.com/libgit2/

Changelog of new features follows:

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.

Signed-off-by: Vicent Marti <tanoku@gmail.com>
12 years agoMerge pull request #710 from libgit2/breaking-changes
Vicent Martí [Fri, 18 May 2012 20:53:38 +0000 (13:53 -0700)]
Merge pull request #710 from libgit2/breaking-changes

Break everything before the release

12 years agoMerge pull request #711 from schu/fetch-local-dummy
Vicent Martí [Fri, 18 May 2012 11:38:15 +0000 (04:38 -0700)]
Merge pull request #711 from schu/fetch-local-dummy

fetch: set dummy function for local fetch

12 years agofetch: set dummy function for local fetch
Michael Schubert [Fri, 18 May 2012 10:36:25 +0000 (12:36 +0200)]
fetch: set dummy function for local fetch

Local fetch isn't implemented yet. Don't segfault on call, but set a
dummy for negotiate_fetch and terminate gracefully.

Reported-by: Brad Harder <bch@methodlogic.net>
12 years agoMerge pull request #685 from nulltoken/fix/list-remote-branches
Vicent Martí [Thu, 17 May 2012 23:51:17 +0000 (16:51 -0700)]
Merge pull request #685 from nulltoken/fix/list-remote-branches

branch: retrieve symbolic references when listing the branches

12 years agoerrors: Rename error codes
Vicent Martí [Thu, 17 May 2012 23:48:50 +0000 (01:48 +0200)]
errors: Rename error codes

12 years agoerrors: Rename the generic return codes
Vicent Martí [Thu, 17 May 2012 23:21:06 +0000 (01:21 +0200)]
errors: Rename the generic return codes

12 years agoProperly tag all `enums` with a `_t`
Vicent Martí [Thu, 17 May 2012 22:42:24 +0000 (00:42 +0200)]
Properly tag all `enums` with a `_t`

12 years agorefs: git_reference_listall -> git_reference_list
Vicent Martí [Thu, 17 May 2012 18:35:48 +0000 (20:35 +0200)]
refs: git_reference_listall -> git_reference_list

12 years agoerrors: Remove old comments
Vicent Martí [Fri, 11 May 2012 10:20:19 +0000 (12:20 +0200)]
errors: Remove old comments

12 years agoglobal: Fix unit tests after reordering
Vicent Martí [Thu, 10 May 2012 09:50:29 +0000 (11:50 +0200)]
global: Fix unit tests after reordering

12 years agoglobal: Change parameter ordering in API
Vicent Martí [Thu, 10 May 2012 08:38:10 +0000 (10:38 +0200)]
global: Change parameter ordering in API

Consistency is good.