]> git.proxmox.com Git - libgit2.git/log
libgit2.git
10 years agotests: make a few globals statics
Carlos Martín Nieto [Wed, 13 Nov 2013 12:08:56 +0000 (13:08 +0100)]
tests: make a few globals statics

ld was warning that the size of path changed, rightly so.

10 years agoMerge pull request #1958 from libgit2/blame-fixes
Vicent Martí [Wed, 13 Nov 2013 09:41:09 +0000 (01:41 -0800)]
Merge pull request #1958 from libgit2/blame-fixes

Blame fixes

10 years agoMinor cleanup
Ben Straub [Wed, 13 Nov 2013 03:02:34 +0000 (19:02 -0800)]
Minor cleanup

10 years agoDon't leak memory when duplicating a NULL signature
Ben Straub [Wed, 13 Nov 2013 03:02:28 +0000 (19:02 -0800)]
Don't leak memory when duplicating a NULL signature

10 years agoFix buffer blame with new lines at end of file
Ben Straub [Wed, 13 Nov 2013 02:57:16 +0000 (18:57 -0800)]
Fix buffer blame with new lines at end of file

10 years agoDuplicate all fields of a blame hunk
Ben Straub [Tue, 12 Nov 2013 23:24:59 +0000 (15:24 -0800)]
Duplicate all fields of a blame hunk

10 years agoAdd some failing blame test cases
Ben Straub [Tue, 12 Nov 2013 23:24:05 +0000 (15:24 -0800)]
Add some failing blame test cases

10 years agoMerge pull request #1957 from linquize/warning3
Vicent Martí [Tue, 12 Nov 2013 12:52:11 +0000 (04:52 -0800)]
Merge pull request #1957 from linquize/warning3

Fix warnings

10 years agoFix warnings
Linquize [Tue, 12 Nov 2013 11:44:13 +0000 (19:44 +0800)]
Fix warnings

10 years agoMerge pull request #1956 from libgit2/cmn/fetch-default-head
Vicent Martí [Mon, 11 Nov 2013 14:47:15 +0000 (06:47 -0800)]
Merge pull request #1956 from libgit2/cmn/fetch-default-head

Remote revamp (director's cut)

10 years agoremote: update head list on push
Carlos Martín Nieto [Mon, 11 Nov 2013 14:32:13 +0000 (15:32 +0100)]
remote: update head list on push

A previous commit forgot to update the head list after push as well,
leading to wrong output of git_remote_ls().

10 years agotests: update push tests
Carlos Martín Nieto [Sun, 10 Nov 2013 16:29:06 +0000 (17:29 +0100)]
tests: update push tests

These tests were forgotten when modifying git_remote_ls().

10 years agoremote: let's at least pretend to have some memory safety
Carlos Martín Nieto [Sat, 2 Nov 2013 00:10:21 +0000 (01:10 +0100)]
remote: let's at least pretend to have some memory safety

Copy the pointers into temporary vectors instead of assigning them tot
he same array so we don't mess up with someone else's memory by
accident (e.g. by sorting).

10 years agoremote: fix a couple of leaks
Carlos Martín Nieto [Fri, 1 Nov 2013 23:51:57 +0000 (00:51 +0100)]
remote: fix a couple of leaks

10 years agoremote: make _ls return the list directly
Carlos Martín Nieto [Fri, 1 Nov 2013 23:05:32 +0000 (00:05 +0100)]
remote: make _ls return the list directly

The callback-based method of listing remote references dates back to the
beginning of the network code's lifetime, when we didn't know any
better.

We need to keep the list around for update_tips() after disconnect() so
let's make use of this to simply give the user a pointer to the array so
they can write straightforward code instead of having to go through a
callback.

10 years agoremote: don't allow such direct access to the refspecs
Carlos Martín Nieto [Wed, 30 Oct 2013 12:44:22 +0000 (13:44 +0100)]
remote: don't allow such direct access to the refspecs

Removing arbitrary refspecs makes things more complex to reason
about. Instead, let the user set the fetch and push refspec list to
whatever they want it to be.

10 years agoMerge pull request #1955 from linquize/trivial.c-warning
Vicent Martí [Sun, 10 Nov 2013 16:19:32 +0000 (08:19 -0800)]
Merge pull request #1955 from linquize/trivial.c-warning

Fix warning in tests-clar/merge/workdir/trivial.c

10 years agoFix warning in tests-clar/merge/workdir/trivial.c
Linquize [Sun, 10 Nov 2013 16:08:54 +0000 (00:08 +0800)]
Fix warning in tests-clar/merge/workdir/trivial.c

10 years agoconfig_file: style
Vicent Marti [Sun, 10 Nov 2013 15:41:41 +0000 (16:41 +0100)]
config_file: style

10 years agoMerge pull request #1950 from csware/quote-config-values
Vicent Martí [Sun, 10 Nov 2013 15:33:11 +0000 (07:33 -0800)]
Merge pull request #1950 from csware/quote-config-values

Correctly quote config values while saving

10 years agoMerge pull request #1936 from libgit2/better-url-parsing
Vicent Martí [Sun, 10 Nov 2013 15:31:21 +0000 (07:31 -0800)]
Merge pull request #1936 from libgit2/better-url-parsing

Streamline url-parsing logic.

10 years agoMerge pull request #1953 from ethomson/packfile_example
Vicent Martí [Thu, 7 Nov 2013 18:11:26 +0000 (10:11 -0800)]
Merge pull request #1953 from ethomson/packfile_example

update example to new packfile creation signature

10 years agoupdate example to new packfile creation signature
Edward Thomson [Thu, 7 Nov 2013 18:00:43 +0000 (12:00 -0600)]
update example to new packfile creation signature

10 years agoMerge pull request #1952 from ethomson/packfile_mode
Vicent Martí [Thu, 7 Nov 2013 17:22:01 +0000 (09:22 -0800)]
Merge pull request #1952 from ethomson/packfile_mode

Allow callers to set mode on packfile creation

10 years agoAllow callers to set mode on packfile creation
Edward Thomson [Thu, 7 Nov 2013 17:03:44 +0000 (12:03 -0500)]
Allow callers to set mode on packfile creation

10 years agoMerge pull request #1949 from ethomson/packbuilder_oid
Vicent Martí [Thu, 7 Nov 2013 16:52:32 +0000 (08:52 -0800)]
Merge pull request #1949 from ethomson/packbuilder_oid

Add git_packbuilder_hash to query pack filename

10 years agoRename method
Sven Strickroth [Thu, 7 Nov 2013 16:51:43 +0000 (17:51 +0100)]
Rename method

Signed-off-by: Sven Strickroth <email@cs-ware.de>
10 years agoAdd git_packbuilder_hash to query pack filename
Edward Thomson [Wed, 6 Nov 2013 23:41:08 +0000 (18:41 -0500)]
Add git_packbuilder_hash to query pack filename

10 years agoAdd another testcase to make sure double quotes are correctly escaped
Sven Strickroth [Thu, 7 Nov 2013 14:39:15 +0000 (15:39 +0100)]
Add another testcase to make sure double quotes are correctly escaped

Signed-off-by: Sven Strickroth <email@cs-ware.de>
10 years agoAdd a testcase for values which needs quotes
Sven Strickroth [Thu, 7 Nov 2013 12:38:04 +0000 (13:38 +0100)]
Add a testcase for values which needs quotes

Signed-off-by: Sven Strickroth <email@cs-ware.de>
10 years agoCorrectly quote config values while saving
Sven Strickroth [Thu, 7 Nov 2013 12:17:36 +0000 (13:17 +0100)]
Correctly quote config values while saving

If the value contains a command (; or #) char or starts or ends with space it needs to be quoted.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
10 years agoMerge pull request #1947 from ethomson/double_free_pkt
Vicent Martí [Tue, 5 Nov 2013 23:51:53 +0000 (15:51 -0800)]
Merge pull request #1947 from ethomson/double_free_pkt

don't double free pkt

10 years agodon't double free pkt
Edward Thomson [Tue, 5 Nov 2013 23:34:45 +0000 (17:34 -0600)]
don't double free pkt

10 years agocmake: Add `USE_SSH` option
Vicent Marti [Tue, 5 Nov 2013 21:08:02 +0000 (22:08 +0100)]
cmake: Add `USE_SSH` option

10 years agoMerge pull request #1946 from arthurschreiber/change-branch-iterator-definition
Carlos Martín Nieto [Tue, 5 Nov 2013 20:26:41 +0000 (12:26 -0800)]
Merge pull request #1946 from arthurschreiber/change-branch-iterator-definition

Change the git_branch_iterator_new definition to use git_branch_t

10 years agoChange the git_branch_iterator_new and git_branch_next definitions to use git_branch_t.
Arthur Schreiber [Tue, 5 Nov 2013 19:51:07 +0000 (20:51 +0100)]
Change the git_branch_iterator_new and git_branch_next definitions to use git_branch_t.

10 years agoBlame: change signature to be more binding-friendly
Ben Straub [Tue, 5 Nov 2013 19:42:42 +0000 (11:42 -0800)]
Blame: change signature to be more binding-friendly

10 years agoMake url decoding more bulletproof
Ben Straub [Tue, 5 Nov 2013 19:35:57 +0000 (11:35 -0800)]
Make url decoding more bulletproof

10 years agoFix MSVC 64-bit warnings
Ben Straub [Tue, 5 Nov 2013 18:55:54 +0000 (10:55 -0800)]
Fix MSVC 64-bit warnings

10 years agoRemove unnecessary check
Ben Straub [Tue, 5 Nov 2013 18:54:44 +0000 (10:54 -0800)]
Remove unnecessary check

10 years agoIncorporate feedback
Ben Straub [Tue, 5 Nov 2013 18:37:50 +0000 (10:37 -0800)]
Incorporate feedback

10 years agoMerge pull request #1944 from libgit2/ntk/fix/config_search_paths_leaks
Vicent Martí [Tue, 5 Nov 2013 17:01:08 +0000 (09:01 -0800)]
Merge pull request #1944 from libgit2/ntk/fix/config_search_paths_leaks

Plug configuration file search paths tests leaks

10 years agoPlug configuration file search paths leaks
nulltoken [Tue, 5 Nov 2013 15:14:20 +0000 (16:14 +0100)]
Plug configuration file search paths leaks

10 years agoMerge pull request #1945 from libgit2/ntk/fix/merge_leaks
Vicent Martí [Tue, 5 Nov 2013 16:32:09 +0000 (08:32 -0800)]
Merge pull request #1945 from libgit2/ntk/fix/merge_leaks

Plug git_merge() related leaks

10 years agoPlug git_merge() related leaks
nulltoken [Tue, 5 Nov 2013 15:44:10 +0000 (16:44 +0100)]
Plug git_merge() related leaks

10 years agoMerge pull request #1007 from ethomson/merge
Vicent Martí [Tue, 5 Nov 2013 15:25:19 +0000 (07:25 -0800)]
Merge pull request #1007 from ethomson/merge

merge!

10 years agomerge branch into current, updating workdir
Edward Thomson [Wed, 3 Jul 2013 05:00:45 +0000 (01:00 -0400)]
merge branch into current, updating workdir

10 years agoMerge pull request #1943 from libgit2/ntk/fix/leaks
Vicent Martí [Tue, 5 Nov 2013 14:55:29 +0000 (06:55 -0800)]
Merge pull request #1943 from libgit2/ntk/fix/leaks

Fix leaks

10 years agoMerge pull request #1938 from libgit2/cmn/branch-iterator
Vicent Martí [Tue, 5 Nov 2013 14:55:16 +0000 (06:55 -0800)]
Merge pull request #1938 from libgit2/cmn/branch-iterator

branch: move from foreach to an iterator

10 years agoFix leaks
nulltoken [Tue, 5 Nov 2013 14:10:02 +0000 (15:10 +0100)]
Fix leaks

10 years agoMerge pull request #1941 from libgit2/rb/preserve-iterator-error
Vicent Martí [Tue, 5 Nov 2013 14:05:32 +0000 (06:05 -0800)]
Merge pull request #1941 from libgit2/rb/preserve-iterator-error

Preserve error messages during file system iterator cleanup

10 years agobranch: move from foreach to an iterator
Carlos Martín Nieto [Sat, 2 Nov 2013 13:07:02 +0000 (14:07 +0100)]
branch: move from foreach to an iterator

Create a git_branch_iterator type which is equivalent to the foreach but
lets us write loops instead of callbacks.

Since the introduction of git_reference_shorthand(), the added value of
passing the name is reduced.

10 years agoerror: Simplify giterr_detach
Vicent Marti [Tue, 5 Nov 2013 13:56:10 +0000 (14:56 +0100)]
error: Simplify giterr_detach

10 years agoMerge pull request #1942 from libgit2/fix/config_propagate_error
Vicent Martí [Tue, 5 Nov 2013 13:39:48 +0000 (05:39 -0800)]
Merge pull request #1942 from libgit2/fix/config_propagate_error

Propagate ELOCKED error when updating the config

10 years agoPropagate ELOCKED error when updating the config
nulltoken [Tue, 5 Nov 2013 11:01:14 +0000 (12:01 +0100)]
Propagate ELOCKED error when updating the config

10 years agoMerge pull request #1940 from ethomson/filebuf_umask
Edward Thomson [Tue, 5 Nov 2013 12:48:45 +0000 (04:48 -0800)]
Merge pull request #1940 from ethomson/filebuf_umask

Take umask into account in filebuf_commit

10 years agomove mode_t to filebuf_open instead of _commit
Edward Thomson [Mon, 4 Nov 2013 23:28:57 +0000 (18:28 -0500)]
move mode_t to filebuf_open instead of _commit

10 years agoTake umask into account in filebuf_commit
Edward Thomson [Mon, 4 Nov 2013 21:46:32 +0000 (15:46 -0600)]
Take umask into account in filebuf_commit

10 years agoFix ssh.c compile
Ben Straub [Tue, 5 Nov 2013 03:09:30 +0000 (19:09 -0800)]
Fix ssh.c compile

10 years agoblame sample: usage comment
Ben Straub [Mon, 4 Nov 2013 23:54:11 +0000 (15:54 -0800)]
blame sample: usage comment

10 years agoFix warnings
Ben Straub [Mon, 4 Nov 2013 23:50:33 +0000 (15:50 -0800)]
Fix warnings

10 years agoReorganize and doc-commentify blame sample.
Ben Straub [Mon, 4 Nov 2013 23:48:35 +0000 (15:48 -0800)]
Reorganize and doc-commentify blame sample.

10 years agoPreserve file error in iterator
Russell Belfer [Mon, 4 Nov 2013 23:47:35 +0000 (15:47 -0800)]
Preserve file error in iterator

When the filesystem iterator encounters an error with a file, it
returns the error but because of the cleanup code, it was in some
cases erasing the error message.  This uses the giterr_detach API
to make sure that the actual error message is restored after the
cleanup code has been run.

10 years agoAdd giterr_detach API to get and clear error
Russell Belfer [Mon, 4 Nov 2013 23:45:31 +0000 (15:45 -0800)]
Add giterr_detach API to get and clear error

There are a number of cases where it is convenient to be able to
fetch and "claim" the current error string, clearing the error.
This is helpful when you need to call some code that may alter
the error and you want to restore it later on and/or report it via
some other mechanism.

10 years agoStandardize layout of blame sample
Ben Straub [Mon, 4 Nov 2013 23:25:26 +0000 (15:25 -0800)]
Standardize layout of blame sample

10 years agoCompile HTTP parser on win32 (for url parsing)
Ben Straub [Mon, 4 Nov 2013 23:03:44 +0000 (15:03 -0800)]
Compile HTTP parser on win32 (for url parsing)

10 years agoMerge pull request #1939 from ethomson/readwrite_odb
Vicent Martí [Mon, 4 Nov 2013 20:16:14 +0000 (12:16 -0800)]
Merge pull request #1939 from ethomson/readwrite_odb

Allow backend consumers to specify file mode

10 years agoUnescape url-encoded usernames and passwords
Ben Straub [Mon, 4 Nov 2013 20:04:17 +0000 (12:04 -0800)]
Unescape url-encoded usernames and passwords

10 years agoAllow backend consumers to specify file mode
Edward Thomson [Mon, 4 Nov 2013 19:50:25 +0000 (14:50 -0500)]
Allow backend consumers to specify file mode

10 years agoUse http_parser_parse_url to parse urls
Ben Straub [Mon, 4 Nov 2013 19:42:14 +0000 (11:42 -0800)]
Use http_parser_parse_url to parse urls

10 years agoMerge pull request #1317 from libgit2/blame
Russell Belfer [Mon, 4 Nov 2013 18:44:59 +0000 (10:44 -0800)]
Merge pull request #1317 from libgit2/blame

Blame Canada

10 years agoMerge pull request #1934 from libgit2/relicense-examples
Vicent Martí [Mon, 4 Nov 2013 18:14:22 +0000 (10:14 -0800)]
Merge pull request #1934 from libgit2/relicense-examples

Relicense examples under CC0

10 years agoMerge pull request #1937 from scunz/checkout_assert
Vicent Martí [Mon, 4 Nov 2013 16:09:58 +0000 (08:09 -0800)]
Merge pull request #1937 from scunz/checkout_assert

Don't assert in git_checkout_tree

10 years agoMerge pull request #1929 from libgit2/rb/misc-diff-fixes
Vicent Martí [Mon, 4 Nov 2013 16:05:55 +0000 (08:05 -0800)]
Merge pull request #1929 from libgit2/rb/misc-diff-fixes

Fix some observed problems with incorrect diffs

10 years agoexamples: doc update
Carlos Martín Nieto [Sun, 3 Nov 2013 12:46:07 +0000 (13:46 +0100)]
examples: doc update

Update the explanation to reflect our use of git_status_list_new() and
make the breaks in rocco more meaningful.

Clarify why GIT_STATUS_CURRENT and index_to_workdir don't always imply
each other. Fixes #1740.

10 years agoremote: don't write too much when dealing with multivars
Carlos Martín Nieto [Sat, 2 Nov 2013 17:36:34 +0000 (18:36 +0100)]
remote: don't write too much when dealing with multivars

We used to move `data_start` forward, which is wrong as that needs to
point to the beginning of the buffer in order to perform size
calculations.

Introduce a `write_start` variable which indicates where we should start
writing from, which is what the `data_start` was being wrongly reused to
be.

10 years agoFix a leak in the diff tests
Carlos Martín Nieto [Sat, 2 Nov 2013 17:34:51 +0000 (18:34 +0100)]
Fix a leak in the diff tests

10 years agoReplace copyright topmatter in example files
Ben Straub [Sat, 2 Nov 2013 12:33:26 +0000 (05:33 -0700)]
Replace copyright topmatter in example files

10 years agoCheckout: git_checkout_head is git_checkout_tree without a treeish
Sascha Cunz [Sat, 2 Nov 2013 03:45:32 +0000 (03:45 +0000)]
Checkout: git_checkout_head is git_checkout_tree without a treeish

The last commit taught git_checkout_tree to actually do something
meaningfull, when treeish was NULL. This lets us rewrite
git_checkout_head to simply call git_checkout_tree without giving it a
treeish.

10 years agoCheckout: Don't assert if treeish is NULL
Sascha Cunz [Sat, 2 Nov 2013 03:43:34 +0000 (03:43 +0000)]
Checkout: Don't assert if treeish is NULL

In git_checkout_tree, the first check tests if either repo or treeish is
NULL and says that eithor of them has to have a valid value. But there
is no code to handle the treeish == NULL case.

So, do something meaningful in that case: use HEAD instead.

10 years agoCheckout: Unifiy const-ness of `opts` parameter
Sascha Cunz [Sat, 2 Nov 2013 03:20:05 +0000 (03:20 +0000)]
Checkout: Unifiy const-ness of `opts` parameter

Since all 3 checkout APIs perform the same operation with the options,
all of them should use the same const-ness.

10 years agoClarify parsing issues and errors
Ben Straub [Sat, 2 Nov 2013 02:22:43 +0000 (19:22 -0700)]
Clarify parsing issues and errors

10 years agoStreamline url-parsing logic.
Ben Straub [Fri, 1 Nov 2013 22:29:25 +0000 (15:29 -0700)]
Streamline url-parsing logic.

10 years agoMerge pull request #1935 from ethomson/winerrs
Vicent Martí [Fri, 1 Nov 2013 22:25:28 +0000 (15:25 -0700)]
Merge pull request #1935 from ethomson/winerrs

preserve windows error numbers as well

10 years agoremote: store dwimed refspecs separately
Carlos Martín Nieto [Mon, 28 Oct 2013 22:30:45 +0000 (23:30 +0100)]
remote: store dwimed refspecs separately

This allows us to add e.g. "HEAD" as a refspec when none are given
without overwriting the user's data.

10 years agoremote: create FETCH_HEAD with a refspecless remote
Carlos Martín Nieto [Sat, 26 Oct 2013 15:35:12 +0000 (17:35 +0200)]
remote: create FETCH_HEAD with a refspecless remote

When downloading the default branch due to lack of refspecs, we still
need to write out FETCH_HEAD with the tip we downloaded, unfortunately
with a format that doesn't match what we already have.

10 years agoremote: give up after 256 failures to find a common object
Carlos Martín Nieto [Sat, 26 Oct 2013 14:52:54 +0000 (16:52 +0200)]
remote: give up after 256 failures to find a common object

This avoids sending our whole history bit by bit to the remote in cases
where there is no common history, just to give up in the end.

The number comes from the canonical implementation.

10 years agoremote: download HEAD when no refspecs are given
Carlos Martín Nieto [Sat, 26 Oct 2013 14:21:31 +0000 (16:21 +0200)]
remote: download HEAD when no refspecs are given

The correct behaviour when a remote has no refspecs (e.g. a URL from the
command-line) is to download the remote's HEAD. Let's do that.

This fixes #1261.

10 years agopreserve windows error numbers as well
Edward Thomson [Fri, 1 Nov 2013 21:03:01 +0000 (17:03 -0400)]
preserve windows error numbers as well

10 years agoFix --assume-unchanged support
Russell Belfer [Fri, 1 Nov 2013 20:49:43 +0000 (13:49 -0700)]
Fix --assume-unchanged support

This was never really working right because we were checking the
wrong flag and not checking it in all the places that we need to
be checking it.  I finally got around to writing a test and adding
actual support for it.

10 years agoMore tests and fixed for merging reversed diffs
Russell Belfer [Fri, 1 Nov 2013 18:39:37 +0000 (11:39 -0700)]
More tests and fixed for merging reversed diffs

There were a lot more cases to deal with to make sure that our
merged (i.e. workdir-to-tree-to-index) diffs were matching the
output of core Git.

10 years agoRelicense examples under CC0
Ben Straub [Fri, 1 Nov 2013 17:51:12 +0000 (10:51 -0700)]
Relicense examples under CC0

10 years agoAdd git_diff_options_init helper
Russell Belfer [Fri, 1 Nov 2013 17:18:03 +0000 (10:18 -0700)]
Add git_diff_options_init helper

Sometimes the static initializer for git_diff_options cannot be
used and since setting them to all zeroes doesn't actually work
quite right, this adds a new helper for that situation.

This also adds an explicit new value to the submodule settings
options to be used when those enums need static initialization.

10 years agoConvert git_index_read to have a "force" flag
Russell Belfer [Fri, 1 Nov 2013 16:51:01 +0000 (09:51 -0700)]
Convert git_index_read to have a "force" flag

This is a little more intuitive than the turned-around option that
I originally wrote.

10 years agoMake diff and status perform soft index reload
Russell Belfer [Thu, 31 Oct 2013 21:36:52 +0000 (14:36 -0700)]
Make diff and status perform soft index reload

This changes `git_index_read` to have two modes - a hard index
reload that always resets the index to match the on-disk data
(which was the old behavior) and a soft index reload that uses
the timestamp / file size information and only replaces the index
data if the file on disk has been modified.

This then updates the git_status code to do a soft reload unless
the new GIT_STATUS_OPT_NO_REFRESH flag is passed in.

This also changes the behavior of the git_diff functions that use
the index so that when an index is not explicitly passed in (i.e.
when the functions call git_repository_index for you), they will
also do a soft reload for you.

This intentionally breaks the file signature of git_index_read
because there has been some confusion about the behavior previously
and it seems like all existing uses of the API should probably be
examined to select the desired behavior.

10 years agoFix some of the glaring errors in GIT_DIFF_REVERSE
Russell Belfer [Wed, 30 Oct 2013 20:56:42 +0000 (13:56 -0700)]
Fix some of the glaring errors in GIT_DIFF_REVERSE

These changes fix the basic problem with GIT_DIFF_REVERSE being
broken for text diffs.  The reversed diff entries were getting
added to the git_diff correctly, but some of the metadata was kept
incorrectly in a way that prevented the text diffs from being
generated correctly.  Once I fixed that, it became clear that it
was not possible to merge reversed diffs correctly.  This has a
first pass at fixing that problem.  We probably need more tests
to make sure that is really fixed thoroughly.

10 years agoMerge pull request #1916 from libgit2/simplify-examples
Vicent Martí [Fri, 1 Nov 2013 16:38:34 +0000 (09:38 -0700)]
Merge pull request #1916 from libgit2/simplify-examples

Fix examples to make the important stuff more obvious

10 years agoMerge pull request #1933 from libgit2/vmg/gcc-warnings
Russell Belfer [Fri, 1 Nov 2013 16:38:03 +0000 (09:38 -0700)]
Merge pull request #1933 from libgit2/vmg/gcc-warnings

Warnings for Windows x64 (MSVC) and GCC on Linux

10 years agoclar: Fix warnings in GCC/Linux
Vicent Marti [Fri, 1 Nov 2013 16:08:32 +0000 (17:08 +0100)]
clar: Fix warnings in GCC/Linux

10 years agoiconv: Do not fake an API when iconv is not available
Vicent Marti [Fri, 1 Nov 2013 16:07:44 +0000 (17:07 +0100)]
iconv: Do not fake an API when iconv is not available