Xavier L
0b90366c3b
Fixes indentation
2013-04-23 12:27:38 -04:00
Xavier L
f0e37a8b86
Added function to insert commit into pack
2013-04-23 12:22:29 -04:00
Carlos Martín Nieto
0e040c031e
indexer: use a hashtable for keeping track of offsets
...
These offsets are needed for REF_DELTA objects, which encode which
object they use as a base, but not where it lies in the packfile, so
we need a list.
These objects are mostly from older packfiles, before OFS_DELTA was
widely spread. The time spent in indexing these packfiles is greatly
reduced, though remains above what git is able to do.
2013-03-03 23:18:29 +01:00
Philip Kelley
b8b897bbc5
Add git_push_options, to set packbuilder parallelism
2013-02-11 09:35:26 -05:00
Philip Kelley
f4b86126ee
A simple perf optimization in pack-objects.c
2013-01-22 08:30:40 -05:00
Edward Thomson
359fc2d241
update copyrights
2013-01-08 17:31:27 -06:00
Justin Spahr-Summers
a35b386458
Always check the result of git_mutex_lock
2012-12-09 02:31:39 -08:00
Philip Kelley
613d5eb939
Push! By schu, phkelley, and congyiwu, et al
2012-11-28 11:42:37 -05:00
Russell Belfer
a8122b5d4a
Fix warnings on Win64 build
2012-11-27 13:18:29 -08:00
Russell Belfer
e120123e36
API review / update for tree.h
2012-11-27 13:18:28 -08:00
Ben Straub
2508cc66eb
Rename ref and reflog apis for consistency
2012-11-27 13:17:45 -08:00
Vicent Martí
aa1c3b588e
Merge pull request #1016 from arrbee/fix-checkout-dir-removal
...
Update checkout with new strategies & behavior
2012-11-13 14:13:47 -08:00
Edward Thomson
603bee0791
Remove git_hash_ctx_new - callers now _ctx_init()
2012-11-13 10:23:05 -06:00
Edward Thomson
d6fb092409
Win32 CryptoAPI and CNG support for SHA1
2012-11-13 10:23:05 -06:00
Russell Belfer
757b406504
Fix warnings and valgrind issues
...
This fixes some various warnings that showed up in Travis and
a couple uses of uninitialized memory and one memory leak.
2012-11-09 14:01:44 -08:00
Vicent Martí
942a76983b
Merge pull request #1034 from carlosmn/packbuilder-foreach
...
Let the user grab the packfile as it's being written
2012-11-05 06:54:34 -08:00
Philip Kelley
41fb1ca0ec
Reorganize transport architecture (squashed 3)
2012-11-01 09:02:33 -04:00
Carlos Martín Nieto
b4b935d8ab
packbuilder: add accessors for the number of total and written objects
2012-11-01 06:21:49 +01:00
Carlos Martín Nieto
3dfed9cb86
packbuilder: add git_packbuilder_foreach
...
Let the user get each object as a buffer+size pair so they can handle
the packfile content as they need to.
2012-11-01 06:21:49 +01:00
Philip Kelley
b4491b9911
Incremental improvements to pack-objects logic
...
Incorporate feedback for incr. improvements to pack-objects
2012-10-17 12:07:17 -04:00
Michael Schubert
0cf49e1017
fixup! gsoc-pack-objects WIP
...
Use khash instead of git.git's hashing algorithm.
2012-10-09 21:50:04 +02:00
Michael Schubert
0a32dca5ec
gsoc-pack-objects WIP
2012-10-09 21:28:31 +02:00