|
ea53203c
|
2013-01-29T13:54:30
|
|
Merge pull request #1295 from carlosmn/obsd
Fix p_realpath on OpenBSD
|
|
4657fc1c
|
2013-01-29T13:54:08
|
|
Merge pull request #1285 from phkelley/vector
Vector improvements and their fallout
|
|
590365db
|
2013-01-29T16:49:12
|
|
Now with no multiply
|
|
67fcac56
|
2013-01-29T18:00:32
|
|
Fix p_realpath on OpenBSD
OpenBSD's realpath(3) doesn't require the last part of the path to
exist. Override p_realpath in this OS to bring it in line with the
library's assumptions.
|
|
764b9e71
|
2013-01-28T14:54:19
|
|
Merge pull request #1289 from jwiegley/development
Added git_treebuilder_entrycount
|
|
5fb98206
|
2013-01-28T15:56:04
|
|
Added git_treebuilder_entrycount
Conflicts:
src/tree.c
|
|
96447d24
|
2013-01-28T16:13:19
|
|
Fix 2 bugs in online::push tests.
- Fix stack corruption introduced in 9bccf33c due to passing pointer to
local variable _cred_acquire_called.
- Fix strcmp in do_verify_push_status when expected or actual push_status
is NULL
|
|
e1859ea1
|
2013-01-27T13:15:48
|
|
Merge pull request #1283 from lznuaa/master
Fix local repository clone failure
|
|
11d9f6b3
|
2013-01-27T14:17:07
|
|
Vector improvements and their fallout
|
|
88183c19
|
2013-01-27T13:36:37
|
|
Fix fail clone local repository because can't found object
avoid use object which is already free
Signed-off-by: Frank Li <lznuaa@gmail.com>
|
|
aa3bf89d
|
2013-01-26T15:12:53
|
|
Fix a mutex leak in pack.c
|
|
f42beff7
|
2013-01-25T23:35:04
|
|
Expand valgrind suppressions even more for libssl, libcrypto
|
|
4adb4815
|
2013-01-25T20:37:39
|
|
Merge pull request #1278 from sba1/cl-assert-equal-s
Use cl_assert_equal_s() instead of strcmp().
|
|
28db9f21
|
2013-01-25T20:35:03
|
|
Merge pull request #1281 from phkelley/valgrind
Improve valgrind suppressions
|
|
5026aec2
|
2013-01-25T23:24:13
|
|
Improve valgrind suppressions
|
|
cfc39f50
|
2013-01-25T22:43:52
|
|
Fix 3 memory leaks
|
|
ae386101
|
2013-01-25T12:02:21
|
|
Merge pull request #1279 from carlosmn/config-trailing-backslash
config: support trailing backslashes
|
|
af2c03a7
|
2013-01-25T12:01:36
|
|
Merge pull request #1280 from nulltoken/fix/clone-segfault
clone: Prevent segfault upon faulted remote creation
|
|
9f35754a
|
2013-01-25T13:29:28
|
|
config: support trailing backslashes
Check whether the backslash at the end of the line is being escaped or
not so as not to consider it a continuation marker when it's e.g. a
Windows-style path.
|
|
26ec6a6d
|
2013-01-24T20:38:01
|
|
tests-clar: ifdef GIT_WIN32 win helper functions
|
|
c5193e3c
|
2013-01-25T12:00:27
|
|
clone: Prevent segfault upon faulted remote creation
|
|
a7f8065f
|
2013-01-25T06:48:55
|
|
Use cl_assert_equal_s() instead of strcmp().
Replaced all cl_assert(!strcmp()) or semantically equivalent forms
by cl_assert_equal_s().
|
|
c9e96403
|
2013-01-24T20:45:00
|
|
Merge pull request #1277 from sba1/branch-name
Add git_branch_name()
|
|
c253056d
|
2013-01-24T20:44:17
|
|
Added git_branch_name().
This is a convenience function to get the branch name of a given
ref. The returned branch name is compatible with the name that can
be supplied e.g. to git_branch_lookup(). That is, the prefixes
"refs/heads" or "refs/remotes" are omitted.
Also added a new test for testing the new function.
|
|
5425097f
|
2013-01-24T18:53:08
|
|
index: Speed up loading a tree into the index
The index is empty; repeated tree entries cannot collide.
cc github/gitrpc#83
|
|
2ff4469a
|
2013-01-24T14:04:35
|
|
Leak cleanup in push tests
|
|
3fbd7485
|
2013-01-24T11:03:11
|
|
Merge pull request #1250 from jamill/push_update_tips
Update remote tips on push
|
|
ef4ef36e
|
2013-01-23T15:55:29
|
|
Merge pull request #1275 from ethomson/examples_windows
update examples to work on windows
|
|
c27e2112
|
2013-01-23T17:38:00
|
|
update examples to work on windows
|
|
0d52cb4a
|
2013-01-24T00:09:55
|
|
opts: Some basic tests
|
|
a0f777c8
|
2013-01-23T23:44:34
|
|
opts: Add getters too
|
|
586f71ef
|
2013-01-22T23:03:53
|
|
Merge pull request #1273 from sba1/example-diff-fix
Don't clear the opt instance in the diff example.
|
|
75a0a800
|
2013-01-23T07:47:40
|
|
Don't clear the opt instance in the diff example.
The version field is overwritten otherwise. The opt instance is
already initialized properly.
|
|
b101fbf9
|
2013-01-22T18:55:56
|
|
Merge pull request #1271 from libgit2/global-settings
Global options setter
|
|
59853eff
|
2013-01-23T02:58:58
|
|
Global options setter
|
|
8958fad7
|
2013-01-22T16:02:43
|
|
Merge pull request #1270 from libgit2/packed-peeled-objects-fix
Allow peeled references without trailing newline at end of file
|
|
5c7b77c4
|
2013-01-22T16:01:03
|
|
Seperate out a new test that verifies packed-refs with no trailing newline
as per @vmg's request
|
|
cb35094b
|
2013-01-22T15:49:51
|
|
Allow peeled references without trailing newline at end of file
Also ammends one of the tag tests to make sure it's working.
|
|
f0f073b7
|
2013-01-22T15:31:44
|
|
Merge pull request #1269 from arrbee/tree-iterator-case-sensitivity-bug
Fix case sensitivity bug with tree iterators
|
|
cce548e3
|
2013-01-22T15:28:25
|
|
Fix case sensitivity bug with tree iterators
With the new code to make tree iterators support ignore_case,
there is a bug in setting the start entry for range bounded
iterators where memcmp was being used instead of strncasecmp.
This fixes that and expands the tree iterator test to cover
the cases that were broken.
|
|
2a707d0e
|
2013-01-22T14:08:50
|
|
Revert "Handle packed peeled objects without trailing newlines"
This reverts commit 28b1cdf3a1bdcd37cf9d550c92b8c19b1782ea6b.
//cc #1262 #1267
|
|
148c786c
|
2013-01-22T09:20:09
|
|
Merge pull request #1268 from phkelley/development
A simple perf optimization in pack-objects.c
|
|
1d645aab
|
2013-01-17T10:20:33
|
|
Update remote tips on push
|
|
47fc2642
|
2013-01-22T09:25:15
|
|
Fix gen_pktline format specifier for Win32
|
|
f4b86126
|
2013-01-22T08:21:08
|
|
A simple perf optimization in pack-objects.c
|
|
fad251ae
|
2013-01-21T15:09:38
|
|
Merge pull request #1267 from libgit2/no-newline
Handle packed peeled objects without trailing newlines
|
|
28b1cdf3
|
2013-01-21T14:45:43
|
|
Handle packed peeled objects without trailing newlines
Fixes #1262
|
|
4c723a32
|
2013-01-21T13:41:35
|
|
Merge pull request #1266 from arrbee/update-clar
Update clar to a80e7f30
|
|
e8a92fe1
|
2013-01-21T13:39:53
|
|
Update clar to a80e7f30
|
|
1bf7bee3
|
2013-01-21T13:23:13
|
|
Merge pull request #1265 from arrbee/parse-commit-time-as-uint64
Parse commit time as uint64_t to avoid overflow
|
|
965e4e2d
|
2013-01-21T13:19:41
|
|
Parse commit time as uint64_t to avoid overflow
The commit time is already stored as a git_time_t, but we were
parsing is as a uint32_t. This just switches the parser to use
uint64_t which will handle dates further in the future (and adds
some tests of those future dates).
|
|
d47c6aab
|
2013-01-20T04:20:09
|
|
commit: don't include the LF in the header field value
When the encoding header changed to be treated as an additional
header, the EOL pointer started to point to the byte after the LF,
making the git__strndup call copy the LF into the value.
Increase the EOL pointer value after copying the data to keep the rest
of the semantics but avoid copying LF.
|
|
7a2cf780
|
2013-01-20T01:57:32
|
|
Fix compilation on OpenBSD
|
|
d77f80d8
|
2013-01-18T12:05:10
|
|
Merge pull request #1260 from phkelley/development
Fix really bad error handling in git_smart__negotiate_fetch
|
|
77844988
|
2013-01-18T14:51:46
|
|
Fix really bad error handling in git_smart__negotiate_fetch
|
|
537abd4a
|
2013-01-17T22:09:57
|
|
Merge pull request #1258 from zcbenz/fix_index_remove_test
Fix linking error caused by ddcb28a41f3774e26fc6ae0a7174a5565e4749ce.
|
|
c55c6244
|
2013-01-18T13:22:55
|
|
Fix linking error caused by ddcb28a41f3774e26fc6ae0a7174a5565e4749ce.
|
|
ddcb28a4
|
2013-01-17T16:56:57
|
|
Merge pull request #1239 from ethomson/index_remove
add an index_remove_bypath that removes conflicts
|
|
3a93ab90
|
2013-01-17T16:33:40
|
|
Merge pull request #1256 from arrbee/asciify-test-data
Move all non-ascii test data to raw hex
|
|
214bf53b
|
2013-01-17T16:32:46
|
|
Merge pull request #1257 from ethomson/crlf_test_fix
add a git config, don't run crlf tests on non-win32
|
|
271680d7
|
2013-01-17T18:18:44
|
|
add a git config, don't run crlf tests on non-win32
|
|
f63d0ee9
|
2013-01-17T15:47:10
|
|
Move all non-ascii test data to raw hex
This takes all of the characters in core::env and makes them use
hex sequences instead of keeping tricky character data inline in
the test.
|
|
75f49ae4
|
2013-01-17T13:45:52
|
|
Merge pull request #1244 from carlosmn/pack-evict
A comparison of eviction algorithms for the delta base cache
|
|
c49fa037
|
2013-01-17T13:37:32
|
|
Merge pull request #1247 from sba1/dont-segfault-if-transport-doesnt-support-push
Don't segfault if transport doesn't support push.
|
|
5c8901ab
|
2013-01-17T13:36:33
|
|
Merge pull request #1255 from arrbee/fix-signed-commit-header-parsing
Add skipping of unknown commit headers
|
|
56af285c
|
2013-01-17T13:34:20
|
|
Merge pull request #1254 from ethomson/index_filtered_size
cache should contain on-disk (filtered) file size
|
|
b90eb84f
|
2013-01-17T22:27:04
|
|
Test that pushs properly fail for transports that don't provide a push implementation.
|
|
291090a0
|
2013-01-17T13:19:09
|
|
Add skipping of unknown commit headers
This moves the check for the "encoding" header into a loop which
is just scanning for non-required headers at the end of a commit
header. That loop will skip unrecognized lines (including header
continuation lines) until a terminating completely blank line is
found, and only then does it move to reading the commit message.
|
|
6e959708
|
2013-01-17T13:11:57
|
|
cache should contain on-disk (filtered) file size
|
|
9bf56c7b
|
2013-01-15T21:39:37
|
|
Don't segfault if transport doesn't support push.
Instead, set an more informative error message.
|
|
34a4ad46
|
2013-01-16T15:52:58
|
|
Merge pull request #1211 from arrbee/fix-icase-status-file
Fix case insensitivity issues in git_status_file
|
|
4b45675d
|
2013-01-16T14:20:41
|
|
Merge pull request #1248 from sba1/doc-fix
Some doc improvements in transport.h
|
|
365485e3
|
2013-01-16T14:17:48
|
|
Merge pull request #1245 from nulltoken/topic/git_branch_tracking_name
Introduce git_branch_tracking_name()
|
|
bf031581
|
2013-01-14T14:22:11
|
|
branch: Introduce git_branch_tracking_name()
|
|
28cbd2e2
|
2013-01-14T12:09:10
|
|
Fix indentations
|
|
62d4fa23
|
2013-01-16T12:25:28
|
|
Some doc improvements
|
|
fffe429a
|
2013-01-10T11:11:42
|
|
Shortcut spool and sort for empty iterator
|
|
25423d03
|
2013-01-09T16:07:54
|
|
Support case insensitive tree iterators and status
This makes tree iterators directly support case insensitivity by
using a secondary index that can be sorted by icase. Also, this
fixes the ambiguity check in the git_status_file API to also be
case insensitive. Lastly, this adds new test cases for case
insensitive range boundary checking for all types of iterators.
With this change, it should be possible to deprecate the spool
and sort iterator, but I haven't done that yet.
|
|
98527b5b
|
2013-01-09T16:03:35
|
|
Add git_tree_entry_cmp and git_tree_entry_icmp
This adds a new external API git_tree_entry_cmp and a new internal
API git_tree_entry_icmp for sorting tree entries. The case
insensitive one is internal only because general users should
never be seeing case-insensitively sorted trees.
|
|
23594c1d
|
2013-01-09T16:02:42
|
|
Add git_path_icmp to case-insensitive path cmp
This adds git_path_icmp to complement git_path_cmp.
|
|
851ad650
|
2013-01-09T16:00:16
|
|
Add payload "_r" versions of bsearch and tsort
git__bsearch and git__tsort did not pass a payload through to the
comparison function. This makes it impossible to implement sorted
lists where the sort order depends on external data (e.g. building
a secondary sort order for the entries in a tree). This commit
adds git__bsearch_r and git__tsort_r versions that pass a third
parameter to the cmp function of a user payload.
|
|
a49340c3
|
2013-01-08T15:56:11
|
|
Test for ignore_case ranges on workdir iterator
This adds a test that confirms that the working directory iterator
can actually correctly process ranges of files case insensitively
with proper sorting and proper boundaries.
|
|
134d8c91
|
2013-01-08T15:53:13
|
|
Update iterator API with flags for ignore_case
This changes the iterator API so that flags can be passed in to
the constructor functions to control the ignore_case behavior.
At this point, the flags are not supported on tree iterators (i.e.
there is no functional change over the old API), but the API
changes are all made to accomodate this.
By the way, I went with a flags parameter because in the future
I have a couple of other ideas for iterator flags that will make
it easier to fix some diff/status/checkout bugs.
|
|
5c8bb98c
|
2013-01-08T13:45:06
|
|
Fix err msg for ambiguous path in git_status_file
Returning GIT_EAMBIGUOUS from inside the status callback gets
overridden with GIT_EUSER. `git_status_file` accounted for this
via the callback payload, but was allowing the error message to
be cleared. Move the `giterr_set` call outside the callback to
where the EUSER case was being dealt with.
|
|
4b181037
|
2013-01-08T13:39:15
|
|
Minor iterator API cleanups
In preparation for further iterator changes, this cleans up a few
small things in the iterator API:
* removed the git_iterator_for_repo_index_range API
* made git_iterator_free not be inlined
* minor param name and test function name tweaks
|
|
facc0650
|
2013-01-08T13:27:25
|
|
Simplify git_diff__paired_foreach icase handling
|
|
bcbb1e20
|
2013-01-05T20:58:25
|
|
status: Enhance git_status_file() test coverage
|
|
230010d1
|
2013-01-15T09:46:50
|
|
Merge pull request #1238 from nulltoken/fix/checkout-index
checkout: Teach checkout to cope with orphaned Head
|
|
848d77dc
|
2013-01-14T10:05:35
|
|
Merge pull request #1242 from sba1/init-with-template-fix
Some fixes for external template support
|
|
9c62aaab
|
2013-01-14T17:42:12
|
|
pack: evict all of the pages at once
Somewhat surprisingly, this can increase the speed considerably, as we
don't bother trying to decide what to evict, and the most used entries
are quickly back into the cache.
|
|
ed6648ba
|
2013-01-14T16:39:22
|
|
pack: evict objects from the cache in groups of eight
This drops the cache eviction below libcrypto and zlib in the perf
output. The number has been chosen empirically.
|
|
72719e73
|
2013-01-13T12:21:52
|
|
Altered the description of the template.
Before, it was identical to the default template making it difficult
to check, if the proper template was copied an external template
test.
|
|
5885ba11
|
2013-01-13T12:23:30
|
|
Now checks in the template test whether the description file has
been properly copied.
This is a minimal effort to test whether the template really has
been used when creating an repo with external templates.
|
|
85f40312
|
2013-01-13T11:30:05
|
|
Do not use GIT_CPDIR_CHMOD flag when copying the template.
This is an intermin solution. While this essentially disables the
--shared flag feature, previously external templates did not work
at all. This change fixes the previously corrected, and since
then failing, repo_init__extended_with_template() test.
The problem is now documented in the source code comments.
|
|
5b524d69
|
2013-01-12T19:37:14
|
|
Fix Travis compilation warnings
|
|
2a3b3e03
|
2013-01-12T19:27:31
|
|
checkout: Teach checkout to cope with orphaned Head
Fix #1236
|
|
25743bd7
|
2013-01-12T13:47:56
|
|
add an index_remove_bypath that removes conflicts, renamed add_from_workdir to match
|
|
b7b1acfd
|
2013-01-12T20:02:00
|
|
Clear local error variable after invoking giterr_clear().
|
|
09e29e47
|
2013-01-12T19:31:07
|
|
pack: fixes to the cache
The offset should be git_off_t, and we should check the return value
of the mutex lock function.
|
|
0b3aa7be
|
2013-01-12T19:01:45
|
|
tests: plug leaks
|