nulltoken
18d6f12040
tag: Deploy EINVALIDSPEC usage
2012-12-01 08:34:28 +01:00
nulltoken
80212ecb1c
reflog: Deploy EINVALIDSPEC usage
2012-12-01 08:34:27 +01:00
nulltoken
e4aa7f58fe
refs: cover git_reference_name_to_oid() unfound behavior
2012-12-01 08:34:26 +01:00
nulltoken
80d9d1df14
refs: Deploy EINVALIDSPEC usage
2012-12-01 08:34:26 +01:00
nulltoken
47261d9c8a
tests: drop unused variables
2012-12-01 08:34:25 +01:00
nulltoken
83458bb77f
refs: Fix error clearing
2012-12-01 08:34:24 +01:00
nulltoken
032ba9e4ad
remote: deploy EINVALIDSPEC usage
2012-12-01 08:34:23 +01:00
nulltoken
8b50935a69
errors: Introduce EINVALIDSPEC error code
2012-12-01 08:34:22 +01:00
nulltoken
3da73c40fc
Fix compilation warnings
2012-12-01 08:34:21 +01:00
Ben Straub
7bcfbe16c5
Make constant name all-caps
2012-11-30 20:35:01 -08:00
Ben Straub
0ab3a2ab2c
Deploy GIT_INIT_STRUCTURE
2012-11-30 20:34:50 -08:00
David Michael Barr
d1b6ea8ad1
delta-apply: add git__delta_read_header
2012-12-01 14:50:45 +11:00
Ben Straub
c7231c45fe
Deploy GITERR_CHECK_VERSION
2012-11-30 16:31:42 -08:00
Ben Straub
4ec197f304
Deploy GIT_SIGNATURE_INIT
2012-11-30 13:12:16 -08:00
Ben Straub
1071176900
Deploy versioned git_transport structure
2012-11-30 13:12:15 -08:00
Ben Straub
79cfa20d60
Deploy GIT_STATUS_OPTIONS_INIT
2012-11-30 13:12:15 -08:00
Ben Straub
b4d136527c
Deploy GIT_REPOSITORY_INIT_OPTIONS_INIT
2012-11-30 13:12:15 -08:00
Ben Straub
9267ff586f
Deploy GIT_REMOTE_CALLBACKS_INIT
2012-11-30 13:12:15 -08:00
Ben Straub
55f6f21b7d
Deploy versioned git_odb_backend structure
2012-11-30 13:12:15 -08:00
Ben Straub
ca901e7b0f
Deploy GIT_DIFF_FIND_OPTIONS_INIT
2012-11-30 13:12:15 -08:00
Ben Straub
2f8d30becb
Deploy GIT_DIFF_OPTIONS_INIT
2012-11-30 13:12:14 -08:00
Ben Straub
6917762139
Deploy git_config_backend version
2012-11-30 13:12:14 -08:00
Ben Straub
b81aa2f1de
Deploy GIT_CHECKOUT_OPTS_INIT
2012-11-30 13:12:14 -08:00
Ben Straub
f4fc9fdba0
Cleanup nitpicky things
2012-11-30 13:12:10 -08:00
Ben Straub
bde336ea51
Add version fields and init macros for public input structs.
2012-11-30 12:55:45 -08:00
Carlos Martín Nieto
3908c254aa
indexer: correctly deal with objects larger than the window size
...
A mmap-window is not guaranteed to give you the whole object, but the
indexer currently assumes so.
Loop asking for more data until we've successfully CRC'd all of the
packed data.
2012-11-30 19:16:39 +01:00
Carlos Martín Nieto
5a3ad89dbd
indexer: make use of streaming also for deltas
...
Up to now, deltas needed to be enterily in the packfile, and we tried
to decompress then in their entirety over and over again.
Adjust the logic so we read them as they come, just as we do for full
objects. This also allows us to simplify the logic and have less
nested code. The delta resolving phase still needs to decompress the
whole object into memory, as there is not yet any streaming
delta-apply support, but it helps in speeding up the downloading
process and reduces the amount of memory allocations we need to do.
2012-11-30 15:55:23 +01:00
Carlos Martín Nieto
f56f8585c0
indexer: use the packfile streaming API
...
The new API allows us to read the object bit by bit from the packfile,
instead of needing it all at once in the packfile. This also allows us
to hash the object as it comes in from the network instead of having
to try to read it all and failing repeatedly for larger objects.
This is only the first step, but it already shows huge improvements
when dealing with objects over a few megabytes in size. It reduces the
memory needs in some cases, but delta objects still need to be
completely in memory and the old inefficent method is still used for
that.
2012-11-30 15:55:23 +01:00
Carlos Martín Nieto
46635339e9
pack: introduce a streaming API for raw objects
...
This allows us to take objects from the packfile as a stream instead
of having to keep it all in memory.
2012-11-30 15:55:23 +01:00
Carlos Martín Nieto
da82043736
graph: plug leak
2012-11-30 15:26:45 +01:00
Carlos Martín Nieto
2d6aedbf29
valgrind: ignore leaks from OpenSSL
2012-11-30 15:23:20 +01:00
Carlos Martín Nieto
9ff07c24f5
buf test: make sure we always set the bom variable
2012-11-30 15:17:05 +01:00
Russell Belfer
f684970a10
Merge pull request #1108 from libgit2/ahead-behind-count
...
Add API to calculate ahead/behind count
2012-11-29 22:53:34 -08:00
Scott J. Goldman
1a0c5a34e0
Fixup ahead/behind tests
...
Fix a typo that caused a failing test, and use cl_assert_equal
instead of cl_assert.
2012-11-29 18:11:30 -08:00
Scott J. Goldman
bdf3e6df83
Fix error condition typo
2012-11-29 17:34:41 -08:00
Russell Belfer
d5e44d8498
Fix function name and add real error check
...
`revwalk.h:commit_lookup()` -> `git_revwalk__commit_lookup()`
and make `git_commit_list_parse()` do real error checking that
the item in the list is an actual commit object. Also fixed an
apparent typo in a test name.
2012-11-29 17:02:27 -08:00
Vicent Martí
f1e5c506b2
Merge pull request #1110 from libgit2/features/push_rebased
...
Push! By schu, phkelley, and congyiwu
2012-11-29 12:18:05 -08:00
Philip Kelley
36c730daa0
Remove more sample hooks from test repo for push
2012-11-29 10:34:16 -05:00
Philip Kelley
3238ee3e07
Remove sample hooks from test repo for push
2012-11-29 08:37:32 -05:00
Philip Kelley
4a6621fdf7
Leverage the min macro from util.h
2012-11-29 08:35:21 -05:00
Philip Kelley
6762fe087b
Remove casts of return values of type void *
2012-11-29 08:29:26 -05:00
Philip Kelley
ac22d08f2f
Remove git_object_oid2type
2012-11-29 08:22:15 -05:00
Vicent Martí
e2934db2c7
Merge pull request #1090 from arrbee/ignore-invalid-by-default
...
Ignore invalid entries by default
2012-11-29 02:05:46 -08:00
Vicent Martí
ee06fec507
Merge pull request #1083 from nulltoken/fix/tracking
...
Fix git_branch_tracking() for branches with empty merge and/or remote config entries
2012-11-29 01:29:50 -08:00
Vicent Martí
2775d1cb8f
Merge pull request #1102 from nulltoken/topic/fetch-test-coverage
...
fetch: enhance test coverage
2012-11-29 01:02:08 -08:00
Vicent Martí
3ae550e36c
Merge pull request #1107 from nulltoken/fix/diff-null-tree-against-workdir
...
Enhance diff test coverage between a null Tree and the Workdir
2012-11-29 01:01:44 -08:00
Vicent Martí
e7da560af4
Merge pull request #1088 from arrbee/consolidate-text-functions
...
Consolidate text buffer functions
2012-11-29 00:00:32 -08:00
Scott J. Goldman
b994bfe339
graph.c: prune includes
2012-11-28 18:59:13 -08:00
Scott J. Goldman
0984c8768d
Rename git_count_ahead_behind -> git_graph_ahead_behind
...
Moved it into graph.{c,h} which i created for the new "graph"
functions namespace. Also adjusted the function prototype
to use `size_t` and `const git_oid *`.
2012-11-28 18:54:57 -08:00
Scott J. Goldman
c6d03c958f
fix coding style: while( -> while (
2012-11-28 18:54:57 -08:00