]> git.proxmox.com Git - libgit2.git/log
libgit2.git
11 years agoMerge pull request #1820 from linquize/git_oid_streq
Vicent Martí [Sun, 1 Sep 2013 15:40:48 +0000 (08:40 -0700)]
Merge pull request #1820 from linquize/git_oid_streq

Update documentation of git_oid_streq to remove outdated error code

11 years agoMerge pull request #1819 from linquize/git_oid_shorten_add
Vicent Martí [Sun, 1 Sep 2013 15:40:10 +0000 (08:40 -0700)]
Merge pull request #1819 from linquize/git_oid_shorten_add

oid: git_oid_shorten_add() sets GITERR_INVALID when OID set is full

11 years agoPoint to the right Go bindings
Carlos Martín Nieto [Sat, 31 Aug 2013 15:42:38 +0000 (17:42 +0200)]
Point to the right Go bindings

11 years agoMerge pull request #1821 from n1rvana/development
Carlos Martín Nieto [Sat, 31 Aug 2013 15:40:49 +0000 (08:40 -0700)]
Merge pull request #1821 from n1rvana/development

Update readme to point to the currently maintained Erlang bindings.

11 years agoUpdate readme to point to the currently maintained Erlang bindings. Namely: https...
Nirvana [Sat, 31 Aug 2013 13:25:25 +0000 (09:25 -0400)]
Update readme to point to the currently maintained Erlang bindings. Namely: https://github.com/carlosmn/geef

11 years agooid: git_oid_shorten_add() sets GITERR_INVALID when OID set is full
Linquize [Sat, 31 Aug 2013 10:22:50 +0000 (18:22 +0800)]
oid: git_oid_shorten_add() sets GITERR_INVALID when OID set is full

11 years agoUpdate documentation of git_oid_streq to remove outdated error code
Linquize [Sat, 31 Aug 2013 10:19:44 +0000 (18:19 +0800)]
Update documentation of git_oid_streq to remove outdated error code

11 years agoFix typo _delete -> _free
Carlos Martín Nieto [Thu, 29 Aug 2013 11:22:44 +0000 (13:22 +0200)]
Fix typo _delete -> _free

11 years agoAdd stddef include for sortedcache
Russell Belfer [Wed, 28 Aug 2013 18:20:47 +0000 (11:20 -0700)]
Add stddef include for sortedcache

All use of sortedcache will need this header, so put it in the
definition of the sortedcache API.

11 years agoMerge pull request #1805 from libgit2/threading-packed-load
Vicent Martí [Wed, 28 Aug 2013 16:38:14 +0000 (09:38 -0700)]
Merge pull request #1805 from libgit2/threading-packed-load

Thread safety for the refdb_fs

11 years agoSome documentation improvements
Russell Belfer [Wed, 28 Aug 2013 16:31:32 +0000 (09:31 -0700)]
Some documentation improvements

11 years agoMerge pull request #1803 from libgit2/ntk/topic/even_more_lenient_remote_parsing
Vicent Martí [Wed, 28 Aug 2013 13:05:50 +0000 (06:05 -0700)]
Merge pull request #1803 from libgit2/ntk/topic/even_more_lenient_remote_parsing

Even more lenient remote parsing

11 years agoMerge pull request #1808 from frasertweedale/fix/freebsd-dup-include
Vicent Martí [Wed, 28 Aug 2013 13:05:07 +0000 (06:05 -0700)]
Merge pull request #1808 from frasertweedale/fix/freebsd-dup-include

netops: remove duplicate include

11 years agoMerge pull request #1772 from libgit2/config-iter
Vicent Martí [Wed, 28 Aug 2013 13:04:51 +0000 (06:04 -0700)]
Merge pull request #1772 from libgit2/config-iter

Configuration iterators redux

11 years agoMerge pull request #1812 from ethomson/version_check
Vicent Martí [Wed, 28 Aug 2013 02:26:54 +0000 (19:26 -0700)]
Merge pull request #1812 from ethomson/version_check

Windows XP updates

11 years agoImprove win32 version check, no ipv6 tests on XP
Edward Thomson [Wed, 28 Aug 2013 00:41:44 +0000 (19:41 -0500)]
Improve win32 version check, no ipv6 tests on XP

11 years agoConvert to our own SRWLOCK type on Win32
Russell Belfer [Tue, 27 Aug 2013 19:08:55 +0000 (12:08 -0700)]
Convert to our own SRWLOCK type on Win32

11 years agoremote: Make git_remote_list() detect pushurl
nulltoken [Tue, 27 Aug 2013 17:14:18 +0000 (19:14 +0200)]
remote: Make git_remote_list() detect pushurl

11 years agovector: Teach git_vector_uniq() to free while deduplicating
nulltoken [Tue, 27 Aug 2013 18:00:28 +0000 (20:00 +0200)]
vector: Teach git_vector_uniq() to free while deduplicating

11 years agoremote: Relax the parsing logic even more
nulltoken [Wed, 21 Aug 2013 14:04:25 +0000 (16:04 +0200)]
remote: Relax the parsing logic even more

In order to be loaded, a remote needs to be configured with at least a `url` or a `pushurl`.

ENOTFOUND will be returned when trying to git_remote_load() a remote with neither of these entries defined.

11 years agoremote: Don't parse missing urls as empty strings
nulltoken [Wed, 21 Aug 2013 11:37:21 +0000 (13:37 +0200)]
remote: Don't parse missing urls as empty strings

11 years agoremote: Warn the user when connecting with no url
nulltoken [Wed, 21 Aug 2013 11:20:17 +0000 (13:20 +0200)]
remote: Warn the user when connecting with no url

11 years agoremote: Assert proper GIT_DIRECTION_XXXX values
nulltoken [Wed, 21 Aug 2013 11:16:17 +0000 (13:16 +0200)]
remote: Assert proper GIT_DIRECTION_XXXX values

11 years agoFix MINGW SRWLock typedefs
Russell Belfer [Mon, 26 Aug 2013 22:17:35 +0000 (15:17 -0700)]
Fix MINGW SRWLock typedefs

11 years agoLoad SRWLock APIs at runtime
Russell Belfer [Mon, 26 Aug 2013 21:56:31 +0000 (14:56 -0700)]
Load SRWLock APIs at runtime

This loads SRWLock APIs at runtime and in their absence (i.e. on
Windows before Vista) falls back on a regular CRITICAL_SECTION
that will not permit concurrent readers.

11 years agoMerge pull request #1810 from nvloff/reference_is_tag
Vicent Martí [Mon, 26 Aug 2013 10:32:09 +0000 (03:32 -0700)]
Merge pull request #1810 from nvloff/reference_is_tag

refs: add git_reference_is_tag

11 years agorefs: add git_reference_is_tag
Nikolai Vladimirov [Sun, 25 Aug 2013 12:59:50 +0000 (15:59 +0300)]
refs: add git_reference_is_tag

11 years agoMerge pull request #1809 from frasertweedale/fix/git_push_unpack_ok-doc
Vicent Martí [Sun, 25 Aug 2013 10:39:06 +0000 (03:39 -0700)]
Merge pull request #1809 from frasertweedale/fix/git_push_unpack_ok-doc

push: small documentation fix

11 years agopush: small documentation fix
Fraser Tweedale [Sun, 25 Aug 2013 07:01:04 +0000 (17:01 +1000)]
push: small documentation fix

11 years agonetops: remove duplicate include
Fraser Tweedale [Sat, 24 Aug 2013 10:15:22 +0000 (20:15 +1000)]
netops: remove duplicate include

9e9aee6 added an include <netinet/in.h> to fix the build on FreeBSD.
Sometime since then the same header is included ifndef _WIN32, so
remove the duplicate include.

11 years agoMerge pull request #1807 from frasertweedale/fix/freebsd
Vicent Martí [Sat, 24 Aug 2013 09:43:38 +0000 (02:43 -0700)]
Merge pull request #1807 from frasertweedale/fix/freebsd

fix tests on FreeBSD

11 years agofix tests on FreeBSD
Fraser Tweedale [Sat, 24 Aug 2013 07:39:15 +0000 (17:39 +1000)]
fix tests on FreeBSD

238b761 introduced a test for posix behaviour, but on FreeBSD some
of the structs and constants used aren't defined in <arpa/inet.h>.
Include the appropriate headers to get the tests working again on
FreeBSD.

11 years agoFix comment
Russell Belfer [Mon, 19 Aug 2013 23:03:15 +0000 (16:03 -0700)]
Fix comment

11 years agoFix sortedcache docs and other feedback
Russell Belfer [Thu, 22 Aug 2013 22:44:34 +0000 (15:44 -0700)]
Fix sortedcache docs and other feedback

This converts an internal lock from a write lock to a read lock
where write isn't needed, and also clarifies some doc things about
where various locks are acquired and how various APIs are intended
to be used.

11 years agoTrying to fix Win32 warnings
Russell Belfer [Thu, 22 Aug 2013 21:45:10 +0000 (14:45 -0700)]
Trying to fix Win32 warnings

11 years agoDrop support for THREADSAFE on Windows XP
Russell Belfer [Thu, 22 Aug 2013 21:34:21 +0000 (14:34 -0700)]
Drop support for THREADSAFE on Windows XP

This makes libgit2 require Windows Vista or newer if it is going
to be compiled with the THREADSAFE option

11 years agoAdd SRWLock implementation of rwlocks for Win32
Russell Belfer [Thu, 22 Aug 2013 21:10:56 +0000 (14:10 -0700)]
Add SRWLock implementation of rwlocks for Win32

11 years agoA bit of item alignment paranoia
Russell Belfer [Thu, 22 Aug 2013 18:50:10 +0000 (11:50 -0700)]
A bit of item alignment paranoia

11 years agoConvert sortedcache to use rwlock
Russell Belfer [Thu, 22 Aug 2013 18:40:53 +0000 (11:40 -0700)]
Convert sortedcache to use rwlock

This is the first use we have of pthread_rwlock_t in libgit2.
Hopefully it won't cause any serious portability problems.

11 years agoImprove comments on locking for sortedcache APIs
Russell Belfer [Thu, 22 Aug 2013 05:50:37 +0000 (22:50 -0700)]
Improve comments on locking for sortedcache APIs

11 years agoNo need to lock newly created tgt in copy
Russell Belfer [Thu, 22 Aug 2013 05:44:56 +0000 (22:44 -0700)]
No need to lock newly created tgt in copy

11 years agoMerge pull request #1801 from ethomson/utf8_bom
Russell Belfer [Wed, 21 Aug 2013 23:57:45 +0000 (16:57 -0700)]
Merge pull request #1801 from ethomson/utf8_bom

Skip UTF-8 BOM in binary detection

11 years agoFix warnings when compiling without threads
Russell Belfer [Wed, 21 Aug 2013 23:50:03 +0000 (16:50 -0700)]
Fix warnings when compiling without threads

11 years agoRewrite refdb_fs using git_sortedcache object
Russell Belfer [Wed, 21 Aug 2013 23:26:32 +0000 (16:26 -0700)]
Rewrite refdb_fs using git_sortedcache object

This adds thread safety to the refdb_fs by using the new
git_sortedcache object and also by relaxing the handling of some
filesystem errors where the fs may be changed out from under us.

This also adds some new threading tests that hammer on the refdb.

11 years agoAdd internal ref set_name fn instead of realloc
Russell Belfer [Wed, 21 Aug 2013 21:10:27 +0000 (14:10 -0700)]
Add internal ref set_name fn instead of realloc

The refdb_fs implementation calls realloc directly on a reference
object when it wants to rename it.  It is not a public object, so
this doesn't mess with the immutability of references, but it does
assume certain constraints on the reference representation.  This
commit wraps that assumption in an isolated API to isolate it.

11 years agoAdd sortedcache APIs to lookup index and remove
Russell Belfer [Wed, 21 Aug 2013 21:09:38 +0000 (14:09 -0700)]
Add sortedcache APIs to lookup index and remove

This adds two other APIs that I need to the sortedcache type.

11 years agoAdd sorted cache data type
Russell Belfer [Tue, 20 Aug 2013 22:18:48 +0000 (15:18 -0700)]
Add sorted cache data type

This adds a convenient new data type for caching the contents of
file in memory when each item in that file corresponds to a name
and you need to both be able to lookup items by name and iterate
over them in some sorted order.  The new data type has locks in
place to manage usage in a threaded environment.

11 years agoDon't try to pack symbolic refs
Russell Belfer [Mon, 19 Aug 2013 17:42:48 +0000 (10:42 -0700)]
Don't try to pack symbolic refs

If there were symbolic refs among the loose refs then the code
to create packed-refs would fail trying to parse the OID out of
them (where Git just skips trying to pack them).  This fixes it.

11 years agoSkip UTF-8 BOM in binary detection
Edward Thomson [Mon, 19 Aug 2013 23:46:26 +0000 (18:46 -0500)]
Skip UTF-8 BOM in binary detection

When a git_buf contains a UTF-8 BOM, the three bytes comprising
that BOM are treated as unprintable characters.  For a small git_buf,
the three BOM characters overwhelm the printable characters.  This
is problematic when trying to check out a small file as the CR/LF
filtering will not apply.

11 years agoMerge pull request #1800 from ethomson/mingw_warnings
Russell Belfer [Mon, 19 Aug 2013 23:01:30 +0000 (16:01 -0700)]
Merge pull request #1800 from ethomson/mingw_warnings

Quiet down some warnings

11 years agoQuiet down some warnings
Edward Thomson [Mon, 19 Aug 2013 22:49:12 +0000 (17:49 -0500)]
Quiet down some warnings

11 years agoMerge pull request #1796 from ethomson/fix_inet_pton
Ben Straub [Mon, 19 Aug 2013 22:47:31 +0000 (15:47 -0700)]
Merge pull request #1796 from ethomson/fix_inet_pton

Fix p_inet_pton on windows

11 years agoFix p_inet_pton on windows
Edward Thomson [Fri, 16 Aug 2013 18:31:24 +0000 (13:31 -0500)]
Fix p_inet_pton on windows

p_inet_pton on Windows should set errno properly for callers.
Rewrite p_inet_pton to handle error cases correctly and add
test cases to exercise this function.

11 years agoMerge pull request #1799 from ethomson/gettimeofday
Ben Straub [Mon, 19 Aug 2013 22:06:39 +0000 (15:06 -0700)]
Merge pull request #1799 from ethomson/gettimeofday

Use time(2) to get the time

11 years agoUse time(2) to get the time
Edward Thomson [Mon, 19 Aug 2013 21:44:17 +0000 (16:44 -0500)]
Use time(2) to get the time

We didn't use the added precision in gettimeofday, so remove it.
This prevents us from having an unnecessary reimplementation on
win32.

11 years agoMerge pull request #1797 from ethomson/keep_hash_ctx_private
Ben Straub [Mon, 19 Aug 2013 18:00:20 +0000 (11:00 -0700)]
Merge pull request #1797 from ethomson/keep_hash_ctx_private

Don't expose git_hash_ctx since it's internal

11 years agotravis: exit on failure for anything related to building
Carlos Martín Nieto [Mon, 19 Aug 2013 16:50:03 +0000 (18:50 +0200)]
travis: exit on failure for anything related to building

11 years agoDon't expose git_hash_ctx since it's internal
Edward Thomson [Mon, 19 Aug 2013 16:42:50 +0000 (11:42 -0500)]
Don't expose git_hash_ctx since it's internal

And doing so makes the mingw build choke.

11 years agoRevparse does not handle refspecs
Carlos Martín Nieto [Mon, 19 Aug 2013 11:04:05 +0000 (13:04 +0200)]
Revparse does not handle refspecs

11 years agoMerge pull request #1785 from libgit2/cmn/odb-hash-frontend
Vicent Martí [Mon, 19 Aug 2013 09:17:00 +0000 (02:17 -0700)]
Merge pull request #1785 from libgit2/cmn/odb-hash-frontend

odb: move hashing to the frontend for streaming

11 years agoMerge pull request #1792 from libgit2/ntk/bug/prefix_size
Vicent Martí [Mon, 19 Aug 2013 09:16:02 +0000 (02:16 -0700)]
Merge pull request #1792 from libgit2/ntk/bug/prefix_size

odb: Straighten oid prefix handling

11 years agoMerge pull request #1794 from libgit2/cmn/elocked
Vicent Martí [Mon, 19 Aug 2013 09:06:15 +0000 (02:06 -0700)]
Merge pull request #1794 from libgit2/cmn/elocked

index: report when it's locked

11 years agotravis: really fail if the tests fail
Carlos Martín Nieto [Mon, 19 Aug 2013 08:50:28 +0000 (10:50 +0200)]
travis: really fail if the tests fail

When implementing the ssh testing, the move to the script made it so
the first test suite's exit code was ignored. Check whether the main
tests fail and exit with an error in that case.

11 years agoindex: report when it's locked
Carlos Martín Nieto [Mon, 19 Aug 2013 08:30:44 +0000 (10:30 +0200)]
index: report when it's locked

Report the index being locked with its own error code in order to be
able to differentiate, as a locked index is typically the result of a
crashed process or concurrent access, both of which often require user
intervention to fix.

11 years agoMerge pull request #1793 from libgit2/ntk/valgrind
Ben Straub [Mon, 19 Aug 2013 01:30:48 +0000 (18:30 -0700)]
Merge pull request #1793 from libgit2/ntk/valgrind

Bring Valgrind back!

11 years agoci: Make Valgrind run on Travis
nulltoken [Sun, 18 Aug 2013 22:18:44 +0000 (00:18 +0200)]
ci: Make Valgrind run on Travis

11 years agoodb: Straighten oid prefix handling
nulltoken [Sun, 18 Aug 2013 21:38:51 +0000 (23:38 +0200)]
odb: Straighten oid prefix handling

11 years agoodb: avoid hashing twice in and edge case
Carlos Martín Nieto [Sat, 17 Aug 2013 00:12:04 +0000 (02:12 +0200)]
odb: avoid hashing twice in and edge case

If none of the backends support direct writes and we must stream the
whole file, we already know what the object's id should be; so use the
stream's functions directly, bypassing the frontend's hashing and
overwriting of our existing id.

11 years agoodb: document git_odb_stream
Carlos Martín Nieto [Fri, 16 Aug 2013 23:55:52 +0000 (01:55 +0200)]
odb: document git_odb_stream

Clarify the role of each function and in particular mention that there
is no need for the backend or stream to worry about the object's id,
as it will be given when `finalize_write` is called.

11 years agoodb: make it clearer that the id is calculated in the frontend
Carlos Martín Nieto [Fri, 16 Aug 2013 23:41:08 +0000 (01:41 +0200)]
odb: make it clearer that the id is calculated in the frontend

The frontend is in charge of calculating the id of the objects. Thus
the backends should treat it as a read-only value. The positioning in
the function signature made it seem as though it was an output
parameter.

Make the id const and move it from the front to behind the subject
(backend or stream).

11 years agoMerge pull request #1778 from libgit2/push_tag_to_tag_test
Vicent Martí [Fri, 16 Aug 2013 23:22:37 +0000 (16:22 -0700)]
Merge pull request #1778 from libgit2/push_tag_to_tag_test

push: handle tag chains correctly

11 years agoMerge pull request #1790 from libgit2/examples-init
Vicent Martí [Fri, 16 Aug 2013 22:33:13 +0000 (15:33 -0700)]
Merge pull request #1790 from libgit2/examples-init

Add "git init"-like example

11 years agoImprove isolation of new test from user environs
Russell Belfer [Fri, 16 Aug 2013 22:03:15 +0000 (15:03 -0700)]
Improve isolation of new test from user environs

11 years agoAdd example like "git init"
Russell Belfer [Fri, 16 Aug 2013 21:49:38 +0000 (14:49 -0700)]
Add example like "git init"

11 years agoNew test that inits repo and make commit
Russell Belfer [Fri, 16 Aug 2013 21:48:14 +0000 (14:48 -0700)]
New test that inits repo and make commit

11 years agoAdd new git_signature_default API using config
Russell Belfer [Fri, 16 Aug 2013 21:34:51 +0000 (14:34 -0700)]
Add new git_signature_default API using config

This adds a new API for creating a signature that uses the
config to look up "user.name" and "user.email".

11 years agoMerge pull request #1789 from martinwoodward/posix_win32-attribution
Ben Straub [Fri, 16 Aug 2013 20:25:18 +0000 (13:25 -0700)]
Merge pull request #1789 from martinwoodward/posix_win32-attribution

Give credit to PHP for the p_readlink function in posix_w32.c

11 years agoGive credit to PHP for the p_readlink function in posix_w32.c
Martin Woodward [Fri, 16 Aug 2013 18:40:58 +0000 (19:40 +0100)]
Give credit to PHP for the p_readlink function in posix_w32.c

11 years agopush: handle tag chains correctly
Carlos Martín Nieto [Mon, 12 Aug 2013 14:15:36 +0000 (16:15 +0200)]
push: handle tag chains correctly

When dealing with a chain of tags, we need to enqueue each of them
individually, which means we can't use `git_tag_peel` as that jumps
over the intermediate tags.

Do the peeling manually so we can look at each object and take the
appropriate action.

11 years agoodb: remove a duplicate object header formatting function
Carlos Martín Nieto [Thu, 15 Aug 2013 12:32:47 +0000 (14:32 +0200)]
odb: remove a duplicate object header formatting function

11 years agoodb: perform the stream hashing in the frontend
Carlos Martín Nieto [Thu, 15 Aug 2013 12:29:39 +0000 (14:29 +0200)]
odb: perform the stream hashing in the frontend

Hash the data as it's coming into the stream and tell the backend what
its name is when finalizing the write. This makes it consistent with
the way a plain git_odb_write() performs the write.

11 years agoodb: wrap the stream reading and writing functions
Carlos Martín Nieto [Thu, 15 Aug 2013 11:48:35 +0000 (13:48 +0200)]
odb: wrap the stream reading and writing functions

This is in preparation for moving the hashing to the frontend, which
requires us to handle the incoming data before passing it to the
backend's stream.

11 years agoMerge pull request #1784 from evhan/development
Vicent Martí [Thu, 15 Aug 2013 06:15:02 +0000 (23:15 -0700)]
Merge pull request #1784 from evhan/development

revparse: Free left side of invalid range revspecs

11 years agorevparse: Use more idiomatic error value test
Evan Hanson [Thu, 15 Aug 2013 05:25:05 +0000 (17:25 +1200)]
revparse: Use more idiomatic error value test

11 years agorevparse: Free left side of invalid range revspecs
Evan Hanson [Thu, 15 Aug 2013 04:25:48 +0000 (16:25 +1200)]
revparse: Free left side of invalid range revspecs

This fixes a small memory leak in git_revparse where early returns on
errors from git_revparse_single cause a free() on the (reallocated) left
side of the revspec to be skipped.

11 years agosha1-lookup: This assert was correct
Vicent Marti [Wed, 14 Aug 2013 22:09:46 +0000 (00:09 +0200)]
sha1-lookup: This assert was correct

11 years agoCommit 7affc2f7 removed var initialization
Russell Belfer [Wed, 14 Aug 2013 17:58:02 +0000 (10:58 -0700)]
Commit 7affc2f7 removed var initialization

That commit accidentally removed the initialization of the "start"
variable giving undefined results for the host extraction from the
url input.

11 years agoMerge pull request #1780 from phkelley/development
Vicent Martí [Wed, 14 Aug 2013 13:48:09 +0000 (06:48 -0700)]
Merge pull request #1780 from phkelley/development

Respect GIT_SSL_NO_VERIFY and http.sslVerify

11 years agoMerge pull request #1783 from libgit2/cmn/relax-remote
Vicent Martí [Wed, 14 Aug 2013 13:44:28 +0000 (06:44 -0700)]
Merge pull request #1783 from libgit2/cmn/relax-remote

remote: relax the url rules

11 years agoMerge pull request #1774 from libgit2/test-ssh
Vicent Martí [Wed, 14 Aug 2013 13:43:43 +0000 (06:43 -0700)]
Merge pull request #1774 from libgit2/test-ssh

Test SSH in travis

11 years agoMerge pull request #1781 from brodie/brodie/stat-before-open
Vicent Martí [Wed, 14 Aug 2013 13:40:38 +0000 (06:40 -0700)]
Merge pull request #1781 from brodie/brodie/stat-before-open

fileops: stat() before open()ing in git_futils_readbuffer_updated()

11 years agoMerge pull request #1782 from libgit2/vmg/no-lookup
Vicent Martí [Wed, 14 Aug 2013 13:38:37 +0000 (06:38 -0700)]
Merge pull request #1782 from libgit2/vmg/no-lookup

Do not use the "experimental" lookup mode

11 years agoremote: relax the url rules
Carlos Martín Nieto [Wed, 14 Aug 2013 09:18:05 +0000 (11:18 +0200)]
remote: relax the url rules

Accept any value for the remote's url, including an empty string which
we used to reject as invalid configuration.

This is not quite what git does (although it has its own problems with
such configurations) and it makes it harder to fix the issue, by not
letting the user modify it.

As we already need to check for a valid URL when we try to connect to
the network, let that perform the check, as we don't need to do it
anywhere else.

11 years agoTest SSH in travis
Carlos Martín Nieto [Sat, 10 Aug 2013 23:37:44 +0000 (01:37 +0200)]
Test SSH in travis

Set up the ssh credentials so we are able to talk to localhost and
issue git commands. Move to use a script, as the command list is
getting somewhat long.

While here, delay installing valgrind until we need it, as it and its
dependencies are by far the largest downloads and this allows us to
start compiling (and failing) faster and we only incur this cost when
the test suite runs successfully.

11 years agooid: Helper for old-school hashcmp
Vicent Marti [Wed, 14 Aug 2013 08:34:07 +0000 (10:34 +0200)]
oid: Helper for old-school hashcmp

11 years agosha1_lookup: Hello my name is MSVC and how do I pointer
Vicent Marti [Wed, 14 Aug 2013 08:31:02 +0000 (10:31 +0200)]
sha1_lookup: Hello my name is MSVC and how do I pointer

11 years agosha1_lookup: do not use the "experimental" lookup mode
Vicent Marti [Wed, 14 Aug 2013 08:28:01 +0000 (10:28 +0200)]
sha1_lookup: do not use the "experimental" lookup mode

11 years agoconfig: don't special-case the multivar iterator
Carlos Martín Nieto [Tue, 13 Aug 2013 22:45:05 +0000 (00:45 +0200)]
config: don't special-case the multivar iterator

Build it on top of the normal iterator instead, which lets use re-use
a lot of code.

11 years agoRespect GIT_SSL_NO_VERIFY and http.sslVerify
Philip Kelley [Tue, 13 Aug 2013 17:10:52 +0000 (13:10 -0400)]
Respect GIT_SSL_NO_VERIFY and http.sslVerify

11 years agoMerge pull request #1779 from ben/win32-precompiled-header-speedup
Ben Straub [Tue, 13 Aug 2013 18:37:31 +0000 (11:37 -0700)]
Merge pull request #1779 from ben/win32-precompiled-header-speedup

Speed up build under MSVC