Chris Hescock
e3862c9fb2
Buffer sideband packet data
...
The inner packet may be split across multiple sideband packets.
2016-04-11 14:11:51 -04:00
Yong Li
8ec3d88f58
Avoid subtraction overflow in git_indexer_commit
2016-04-11 14:11:41 -04:00
Chris Bargren
4a93a7fcc4
Tabs
2016-04-11 14:11:33 -04:00
Chris Bargren
b8dc15f70e
Adding test cases that actually test the functionality of the new transport
...
ssh, ssh+git and git+ssh should all successfully build an SSH transport
2016-04-11 14:11:28 -04:00
Chris Bargren
e44f6586ce
Removing #define for SSH_PREFIX_COUNT and using ARRAY_SIZE instead
...
Also moving var declarations to top of blocks to support bad old compilers
2016-04-11 14:11:11 -04:00
Chris Bargren
429155d516
Updating change to http_parser to reflect PR for nodejs/http-parser
...
The parser now also supports digits, '-' and '.'. https://github.com/nodejs/http-parser/pull/276
2016-04-11 14:11:06 -04:00
Chris Bargren
fa8b1a8822
Adding spec coverage for ssh+git and git+ssh protocols
2016-04-11 14:11:00 -04:00
Chris Bargren
ff8e3f0e6b
Handle git+ssh:// and ssh+git:// protocols support
2016-04-11 14:10:55 -04:00
Chris Bargren
2f2575c002
Updating http parser to accept a +
in the schema
2016-04-11 14:10:51 -04:00
Edward Thomson
0e00eecf83
Merge pull request #3736 from libgit2/cmn/dwim-general-message
...
refs: provide a more general error message for dwim
2016-04-11 13:29:54 -04:00
Carlos Martín Nieto
b93b74b9e3
Merge pull request #3737 from ethomson/strict-object
...
Strict object creation in `refs::create`
2016-04-11 19:24:47 +02:00
Edward Thomson
d22a8b9583
refs::create: strict object creation on by default
...
When we turned strict object creation validation on by default, we
forgot to inform the refs::create tests of this. They, in fact,
believed that strict object creation was off by default. As a result,
their cleanup function went and turned strict object creation off for
the remaining tests.
2016-04-11 11:50:11 -04:00
Carlos Martín Nieto
6d22ef7a51
reset: use real ids for the tests
...
This lets us run with strict object creation on.
2016-04-11 11:47:56 -04:00
Carlos Martín Nieto
77965c685d
refs: provide a more general error message for dwim
...
If we cannot dwim the input, set the error message to be explicit about
that. Otherwise we leave the error for the last failed lookup, which
can be rather unexpected as it mentions a remote when the user thought
they were trying to look up a branch.
2016-04-11 17:47:03 +02:00
Andreas Henriksson
918b73d561
Release to experimental
2016-04-11 17:09:53 +02:00
Andreas Henriksson
aacc6f5f4c
Update debian/changelog
2016-04-11 10:48:27 +02:00
Andreas Henriksson
267c427582
Disable fakeroot emulation when running tests
...
- tests only works under regular user or real root.
Git-Dch: Full
2016-04-11 10:48:18 +02:00
Andreas Henriksson
fee1094301
Add git_tests-fix-core-stream-test-when-built-with-openssl-o.patch
2016-04-11 10:48:13 +02:00
Andreas Henriksson
6a22a39ece
Drop libgit2-dbg and migrate to dbgsym
2016-04-11 10:48:07 +02:00
Edward Thomson
69723dd8d3
Merge pull request #3730 from andhe/fix-stream-test
...
tests: fix core/stream test when built with openssl off
2016-04-06 15:59:31 -04:00
Andreas Henriksson
04f47a43f9
tests: fix core/stream test when built with openssl off
...
When passing -DUSE_OPENSSL:BOOL=OFF to cmake the testsuite will
fail with the following error:
core::stream::register_tls [/tmp/libgit2/tests/core/stream.c:40]
Function call failed: (error)
error -1 - <no message>
Fix test to assume failure for tls when built without openssl.
While at it also fix GIT_WIN32 cpp to check if it's defined
or not.
2016-04-06 15:00:32 +02:00
Edward Thomson
54cfee6d88
Merge pull request #3728 from libgit2/cmn/no-embed
...
Remove Makefile.embed
2016-04-05 14:47:02 -04:00
Carlos Martín Nieto
21ba34618b
Remove Makefile.embed
...
This has not been a supported build mode for quite some time, and it
correspondingly hasn't worked to build the library for a long time. Get
rid of it, as the only build mode we support is though CMakek.
2016-04-05 13:25:23 -04:00
Andreas Henriksson
fa011ff96b
Update debian/changelog
2016-04-05 08:31:21 +02:00
Andreas Henriksson
79f33a6314
Incorporate 0.23.1-1.1 NMU diff
...
Please note that this does not include the original TMPDIR usage
removal from debian/rules dh_auto_test as that was already committed
(yet forgotten to go into debian/changelog in both instances) in
commit df12d29ae7
"Remove TMPDIR override"
2016-04-05 08:30:12 +02:00
Andreas Henriksson
0c83b22aba
Update debian/changelog
2016-04-04 15:32:22 +02:00
Andreas Henriksson
43f750b4ee
Update Vcs-* for new collab-maint repo
2016-04-04 15:29:28 +02:00
Andreas Henriksson
f33ee246e0
Bump Standards-Version to 3.9.7
2016-04-03 14:48:57 +02:00
Andreas Henriksson
c97bd38326
Update debian/libgit2-24.symbols
2016-04-03 14:47:52 +02:00
Andreas Henriksson
c68e98a3eb
Rename packages for new upstream so version -24
2016-04-03 14:47:49 +02:00
Andreas Henriksson
faa570b59f
Update debian/changelog
2016-04-03 14:33:11 +02:00
Andreas Henriksson
f92de12b3d
Merge tag 'upstream/0.24.0'
...
Upstream version 0.24.0
2016-04-03 14:22:53 +02:00
Andreas Henriksson
b3ee20cb0a
Imported Upstream version 0.24.0
2016-04-03 14:22:52 +02:00
Carlos Martín Nieto
381caf5690
Merge pull request #3724 from ethomson/submodule_start_supports_silly_slashes
...
iterator/diff: allow trailing `/` on start/end paths to match submodules
2016-04-02 22:19:42 -07:00
Edward Thomson
7018e3b747
Merge pull request #3723 from libgit2/cmn/ignore-symlink
...
ignore: don't use realpath to canonicalize path
2016-04-02 16:52:53 -04:00
Edward Thomson
d47f7e1c15
iterator: support trailing /
in start for submod
...
Allow callers to specify a start path with a trailing slash to match
a submodule, instead of just a directory. This is for some legacy
behavior that's sort of dumb, but there it is.
2016-04-02 13:34:55 -07:00
Edward Thomson
2e0391f4f1
diff: test submodules are found with trailing /
...
Test that submodules are found when the are included in a pathspec
but have a trailing slash.
2016-04-02 13:02:41 -07:00
Carlos Martín Nieto
d364dc8b39
ignore: don't use realpath to canonicalize path
...
If we're looking for a symlink, realpath will give us the resolved path,
which is not what we're after, but a canonicalized version of the path
the user asked for.
2016-04-02 21:32:28 +02:00
Carlos Martín Nieto
36fc25572c
Merge pull request #3720 from pks-t/pks/merge-driver-memleaks
...
merge_driver: fix missing `goto done;`
2016-04-01 04:09:50 -07:00
Patrick Steinhardt
83c93a7cc2
merge_driver: fix missing goto done;
...
The code initializing the merge driver registry accidentally
forgot a `goto done` in case of an error. Because of this the
next line, which registers the global shutdown callback for the
merge drivers, is only called when an error occured.
Fix this by adding the missing `goto done`. This fixes some
memory leaks when the global state is shut down.
2016-04-01 09:37:55 +02:00
Carlos Martín Nieto
1cac688d3f
Merge pull request #3719 from libgit2/ethomson/submodule_status
...
WD iterator: properly identify submodules
2016-04-01 00:29:51 -07:00
Edward Thomson
4df6ddaa1a
iterator: use correct search function
2016-03-31 17:58:43 -04:00
Edward Thomson
74ab5f2cd0
status: test submodules with mixed case
2016-03-31 17:58:43 -04:00
Carlos Martín Nieto
24ecf18e81
Merge pull request #3717 from libgit2/ethomson/leaks
...
Plug some leaks
2016-03-31 14:04:43 -07:00
Edward Thomson
c4aa5c042c
leaks: call xdl_free_classifier
2016-03-31 10:43:57 -04:00
Edward Thomson
17442b28f9
leaks: fix some leaks in the tests
2016-03-31 10:41:33 -04:00
Edward Thomson
9705483342
leaks: fix some iterator leaks
2016-03-31 10:41:33 -04:00
Carlos Martín Nieto
f5c874a475
Plug a few leaks
2016-03-31 10:41:33 -04:00
Edward Thomson
1694a63994
Merge pull request #3716 from libgit2/cmn/typedef-sizet
...
Add a no-op size_t typedef for the doc parser
2016-03-31 10:04:43 -04:00
Carlos Martín Nieto
d53cc13e3a
Merge pull request #3575 from pmq20/master-13jan16
...
Remove duplicated calls to git_mwindow_close
2016-03-31 04:12:46 -07:00