Edward Thomson
35560d6d14
expose merge metadata cleanup
2013-01-04 17:47:51 +01:00
Nikolai Vladimirov
b60b4562fe
add option to allow git note overwrite
2013-01-04 17:47:51 +01:00
Philip Kelley
853488eed4
Fix git__strncasecmp
2013-01-04 17:47:51 +01:00
Nikolai Vladimirov
b421decc76
notes.c - whitespace fix
2013-01-04 17:47:51 +01:00
Russell Belfer
b8a1ea7cf9
Fix core::env cleanup code
...
Mark fake home directories that failed to be created, so we won't
try to remove them and have cleanup just use p_rmdir.
2013-01-03 11:04:03 -08:00
Vicent Marti
54254a0fe2
Status tests...
2013-01-03 19:38:29 +01:00
Vicent Marti
7b51d675e8
Even more cleanups
2013-01-03 19:17:07 +01:00
Vicent Marti
f6fded8f91
Proper cleanup jeez
2013-01-03 19:07:41 +01:00
Ben Straub
600d8dbf6d
Move test cleanup into cleanup functions
2013-01-03 09:10:38 -08:00
Ben Straub
bffbeebbec
Cleanup after tests
2013-01-03 08:38:00 -08:00
Ben Straub
6fef1ab344
Tests should clean up after themselves
2013-01-03 07:47:51 -08:00
Vicent Marti
7761ce2162
Merge branch 'development' into clar2
...
Conflicts:
tests-clar/clone/nonetwork.c
tests-clar/online/clone.c
tests-clar/online/fetchhead.c
2013-01-03 04:24:12 +01:00
Vicent Marti
4236164a77
Prototypes warning goes away
2013-01-03 02:37:28 +01:00
Vicent Marti
a218862557
Remove the submodule from travis
2013-01-03 02:35:23 +01:00
Vicent Marti
2e6f06a8d4
...and add Clar raw
2013-01-03 02:34:45 +01:00
Vicent Marti
8ee7174be9
Remove the clar submodule
2013-01-03 02:22:42 +01:00
Vicent Marti
f46769e52a
Fix network suite
2013-01-03 02:13:37 +01:00
Vicent Marti
afb181167e
/deal with it
2013-01-03 01:04:18 +01:00
Vicent Marti
39444bea0a
...fine
2013-01-03 01:01:03 +01:00
Vicent Marti
ad27838bdc
Proper submodule dependency
2013-01-03 00:58:46 +01:00
Vicent Marti
6443eaf22f
Disable Network suite by default
2013-01-03 00:50:29 +01:00
Ben Straub
922dd9788c
Move some clone tests to the nonetwork suite
2013-01-02 13:54:37 -08:00
Vicent Martí
cd5ca5b97f
Merge pull request #1152 from ben/clone-api-structification
...
Segregate in-memory and persisted remotes
2013-01-02 13:50:41 -08:00
Ben Straub
730df6d0f7
Include checkout options inline
2013-01-02 13:43:54 -08:00
Vicent Marti
39cd01779c
This is a better name
2013-01-02 22:38:10 +01:00
Vicent Marti
a44f2e9e7b
Try it like this...
2013-01-02 22:26:34 +01:00
Ben Straub
c07b52df1b
Remove inmem
flag, use NULL name instead
2013-01-02 12:48:17 -08:00
Ben Straub
0642c1431e
Move url
to last place in parameter list
2013-01-02 12:44:47 -08:00
Vicent Marti
e229c04825
Fuck you CMake
2013-01-02 21:27:00 +01:00
Vicent Marti
0df4167577
Submodule checkout
2013-01-02 21:22:19 +01:00
Vicent Marti
a368fd0f79
Checkout test
2013-01-02 20:08:49 +01:00
Michael Schubert
2e40c616c7
path: ifdef GIT_WIN32 looks_like_network_computer_name()
2013-01-02 16:28:08 +01:00
Vicent Marti
5c2d3f6d5d
Add build dependency for clar. Also, fuck you CMake. Fuck you.
2013-01-02 04:19:13 +01:00
Vicent Marti
b0a4582975
Bump the Clar submodule
2013-01-02 02:05:11 +01:00
Vicent Marti
156cfec096
Cleanup Clar to make it SIMPLER
2013-01-02 02:05:11 +01:00
Vicent Martí
036e81f726
Merge pull request #1177 from arrbee/update-example-showindex
...
Update showindex example
2012-12-29 04:08:58 -08:00
Russell Belfer
dbc4aa0750
Update showindex example
...
I find the showindex example to be pretty useful on occasion, but
there were are couple of output tweaks I wanted, plus I wanted the
ability to specify a path to an actual index file instead of having
to open the whole repository. This makes those changes and expands
the example slightly.
2012-12-28 22:00:24 -08:00
Vicent Martí
3d4064a2cb
Merge pull request #1176 from arrbee/fix-iter-memleak
...
Alternative fix for iterator memory leak
2012-12-28 10:34:35 -08:00
Vicent Martí
645e67e863
Merge pull request #1171 from csware/fix-compilation-vs2012
...
Fixed compilation with =>VS2010
2012-12-28 07:18:55 -08:00
Sven Strickroth
46c2c1d538
Fixed compilation with VS >= 2010
...
Starting with VS2010 MS ships a stdint.h.
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2012-12-28 13:47:13 +01:00
Russell Belfer
3865f7f661
Invalid ref name normalization leaked memory
...
When normalizing a reference name, if there is an error because
the name is invalid, then the memory allocated for storing the
name could be leaked if the caller was not careful and assumed
that the error return code meant that no allocation had occurred.
This fixes that by explicitly deallocating the reference name
buffer if there is an error in normalizing the name.
2012-12-27 23:23:12 -08:00
Russell Belfer
f616a36bdd
Make spoolandsort a pushable iterator behavior
...
An earlier change to `git_diff_from_iterators` introduced a
memory leak where the allocated spoolandsort iterator was not
returned to the caller and thus not freed.
One proposal changes all iterator APIs to use git_iterator** so
we can reallocate the iterator at will, but that seems unexpected.
This commit makes it so that an iterator can be changed in place.
The callbacks are isolated in a separate structure and a pointer
to that structure can be reassigned by the spoolandsort extension.
This means that spoolandsort doesn't create a new iterator; it
just allocates a new block of callbacks (along with space for its
own extra data) and swaps that into the iterator.
Additionally, since spoolandsort is only needed to switch the
case sensitivity of an iterator, this simplifies the API to only
take the ignore_case boolean and to be a no-op if the iterator
already matches the requested case sensitivity.
2012-12-27 22:25:52 -08:00
Ben Straub
3de2256708
Fix warnings in example
2012-12-27 11:12:14 -08:00
Ben Straub
592f466c48
Fix GCC static/non-static compile error
2012-12-27 11:11:53 -08:00
Vicent Martí
83261a449f
Merge pull request #1173 from nulltoken/bug/discover
...
Teach UNC paths to git_path_dirname_r()
2012-12-26 16:08:10 -08:00
nulltoken
50a762a563
path: Teach UNC paths to git_path_dirname_r()
...
Fix libgit2/libgit2sharp#256
2012-12-26 23:07:25 +01:00
nulltoken
34b6f05f39
path: enhance git_path_dirname_r() test coverage
2012-12-26 11:59:07 +01:00
nulltoken
19c3c99ca8
remote: remove duplicated test
2012-12-24 18:18:40 +01:00
nulltoken
f19304d265
remote: Prevent create() from blindly overwriting
2012-12-24 18:18:31 +01:00
nulltoken
ae35aa0708
remote: Improve documentation
2012-12-24 17:20:37 +01:00