Vicent Martí
6700cb9925
Merge pull request #1828 from libgit2/examples-cmakelists
...
Split examples CMakeLists.txt
2013-09-03 15:54:45 -07:00
Russell Belfer
60ee53dfce
Split examples CMakeLists.txt
...
Also, this converts the examples/CMakeLists.txt from explicitly
listing to just globbing for all the individual C files.
2013-09-03 15:20:16 -07:00
Russell Belfer
d31e5655c2
Merge pull request #1827 from libgit2/relative-path-win32-fix
...
Fix resolving relative windows network paths
2013-09-03 15:19:13 -07:00
Russell Belfer
cae5293854
Fix resolving relative windows network paths
2013-09-03 14:00:27 -07:00
Russell Belfer
0d1af399e9
don't use inline in tests for win32
2013-09-03 12:33:34 -07:00
Vicent Martí
6208bd499b
Merge pull request #1804 from ethomson/rewrites
...
Minor changes for rewrites
2013-09-03 12:29:18 -07:00
Russell Belfer
37fc44ddff
Merge pull request #1825 from nvloff/resolve_relative
...
path: properly resolve relative paths
2013-09-03 12:27:56 -07:00
Nikolai Vladimirov
6d9a6c5cec
path: properly resolve relative paths
2013-09-03 20:45:53 +03:00
Vicent Martí
b595b385df
Merge pull request #1814 from libgit2/is-empty-fix
...
Fix incorrect precedence within git_repository_is_empty()
2013-09-03 04:11:07 -07:00
Vicent Martí
c46fe0c651
Merge pull request #1823 from kadamski/building4android
...
Small changes enabling compiling libgit2 for Android.
2013-09-02 03:01:40 -07:00
Vicent Martí
7b2b6da661
Merge pull request #1822 from kadamski/examples-cleanup
...
Small cleanup in examples.
2013-09-01 13:39:11 -07:00
Krzysztof Adamski
01cd5ae377
Add instructions about buiding for Android to README.md
2013-09-01 19:48:01 +02:00
Krzysztof Adamski
5c37f00505
Build all example files if BUILD_EXAMPLES used.
2013-09-01 19:00:16 +02:00
Krzysztof Adamski
255836ddac
Adding credentials callback to ls-remote and fetch too.
2013-09-01 19:00:16 +02:00
Krzysztof Adamski
d6d523486c
Removing unneeded code duplication in ls-remote.c
2013-09-01 19:00:16 +02:00
Krzysztof Adamski
3b75b684a1
Define S_IREAD i S_IWRITE for Android.
2013-09-01 18:53:07 +02:00
Krzysztof Adamski
b1447edebc
Use git__insertsort_r on Android too.
2013-09-01 18:47:56 +02:00
Krzysztof Adamski
82b2fc2c83
Create ANDROID build option
...
CMake seems not to support Android as a target and this option
lets us test this in CMakeLists.txt.
2013-09-01 18:45:36 +02:00
Vicent Martí
ac2e7dc6fb
Merge pull request #1820 from linquize/git_oid_streq
...
Update documentation of git_oid_streq to remove outdated error code
2013-09-01 08:40:48 -07:00
Vicent Martí
ce9390858f
Merge pull request #1819 from linquize/git_oid_shorten_add
...
oid: git_oid_shorten_add() sets GITERR_INVALID when OID set is full
2013-09-01 08:40:10 -07:00
Carlos Martín Nieto
f2cda906e5
Point to the right Go bindings
2013-08-31 17:42:38 +02:00
Carlos Martín Nieto
749871c240
Merge pull request #1821 from n1rvana/development
...
Update readme to point to the currently maintained Erlang bindings.
2013-08-31 08:40:49 -07:00
Nirvana
a402179ae5
Update readme to point to the currently maintained Erlang bindings. Namely: https://github.com/carlosmn/geef
2013-08-31 09:25:25 -04:00
Linquize
d45e9480e7
oid: git_oid_shorten_add() sets GITERR_INVALID when OID set is full
2013-08-31 18:22:50 +08:00
Linquize
e68938e0b9
Update documentation of git_oid_streq to remove outdated error code
2013-08-31 18:19:44 +08:00
nulltoken
9b4ed214f4
odb: Code beautification
2013-08-30 23:19:02 +02:00
nulltoken
a12e069a3e
odb: Honor the non refreshing capability of a backend
2013-08-30 23:19:02 +02:00
Russell Belfer
4218183631
Treat detached HEAD as non-empty repo
...
This simplifies the git_repository_is_empty a bit so that a
detached HEAD is just taken to mean the repo is not empty, since
a newly initialized repo will not have a detached HEAD.
2013-08-29 10:27:01 -07:00
Vicent Martí
8b2f230cd5
repository: Make the is_empty check more explicit
2013-08-29 13:27:37 +02:00
Carlos Martín Nieto
0001c02316
Fix typo _delete -> _free
2013-08-29 13:22:44 +02:00
Justin Spahr-Summers
4ab6a759f6
Fix incorrect precedence within git_repository_is_empty()
...
Reverts part of 9146f1e57e
.
2013-08-28 22:51:57 -07:00
Russell Belfer
19b9a09209
Add stddef include for sortedcache
...
All use of sortedcache will need this header, so put it in the
definition of the sortedcache API.
2013-08-28 11:20:47 -07:00
Vicent Martí
dbecec37a7
Merge pull request #1805 from libgit2/threading-packed-load
...
Thread safety for the refdb_fs
2013-08-28 09:38:14 -07:00
Russell Belfer
b2d3efcbce
Some documentation improvements
2013-08-28 09:31:32 -07:00
Edward Thomson
17c7fbf6d2
Split rewrites, status doesn't return rewrites
...
Ensure that we apply splits to rewrites, even if we're not
interested in examining it closely for rename/copy detection.
In keeping with core git, status should not display rewrites,
it should simply show files as "modified".
2013-08-28 08:30:19 -05:00
Vicent Martí
1ef05e3f0e
Merge pull request #1803 from libgit2/ntk/topic/even_more_lenient_remote_parsing
...
Even more lenient remote parsing
2013-08-28 06:05:50 -07:00
Vicent Martí
d07cc8a2f7
Merge pull request #1808 from frasertweedale/fix/freebsd-dup-include
...
netops: remove duplicate include
2013-08-28 06:05:07 -07:00
Vicent Martí
b8b22d774e
Merge pull request #1772 from libgit2/config-iter
...
Configuration iterators redux
2013-08-28 06:04:51 -07:00
Vicent Martí
21a3bbe419
Merge pull request #1812 from ethomson/version_check
...
Windows XP updates
2013-08-27 19:26:54 -07:00
Edward Thomson
1ff3a09415
Improve win32 version check, no ipv6 tests on XP
2013-08-27 19:44:35 -05:00
Russell Belfer
f087bc245e
Convert to our own SRWLOCK type on Win32
2013-08-27 12:08:55 -07:00
nulltoken
aec87f712f
remote: Make git_remote_list() detect pushurl
2013-08-27 20:14:10 +02:00
nulltoken
191adce875
vector: Teach git_vector_uniq() to free while deduplicating
2013-08-27 20:14:07 +02:00
nulltoken
c9ffa84bde
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.
2013-08-27 19:31:19 +02:00
nulltoken
ece24ef7c4
remote: Don't parse missing urls as empty strings
2013-08-27 16:57:17 +02:00
nulltoken
44bc0c6ac3
remote: Warn the user when connecting with no url
2013-08-27 16:57:16 +02:00
nulltoken
b83c92dd6f
remote: Assert proper GIT_DIRECTION_XXXX values
2013-08-27 16:57:15 +02:00
Russell Belfer
2f368a661c
Fix MINGW SRWLock typedefs
2013-08-26 15:17:35 -07:00
Russell Belfer
430953417f
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.
2013-08-26 14:56:31 -07:00
Vicent Martí
ba7cc8d2f7
Merge pull request #1810 from nvloff/reference_is_tag
...
refs: add git_reference_is_tag
2013-08-26 03:32:09 -07:00