Carlos Martín Nieto
371599576a
indexer: don't use '/objects/pack/' unconditionally
...
Not everyone who indexes a packfile wants to put it in the standard
git repository location.
2012-06-28 10:24:03 +02:00
Bruce Mitchener
d73c94b21c
Fix spelling errors.
2012-05-19 20:26:52 +07:00
Carlos Martín Nieto
dee5515a23
transports: buffer the git requests before sending them
...
Trying to send every single line immediately won't give us any speed
improvement and duplicates the code we need for other transports. Make
the git transport use the same buffer functions as HTTP.
2012-04-25 12:44:27 +02:00
Carlos Martín Nieto
1c9c081a6a
indexer: add git_indexer_stream_free() and _hash()
2012-04-13 22:19:45 +02:00
Carlos Martín Nieto
453ab98da0
indexer: Add git_indexer_stream_finalize()
...
Resolve any lingering deltas, write out the index file and rename the
packfile.
2012-04-13 22:19:45 +02:00
Carlos Martín Nieto
3f93e16cff
indexer: start writing the stream indexer
...
This will allow us to index a packfile as soon as we receive it from
the network as well as storing it with its final name so we don't need
to pass temporary file names around.
2012-04-13 22:19:44 +02:00
schu
5e0de32818
Update Copyright header
...
Signed-off-by: schu <schu-github@schulog.org>
2012-02-13 17:11:09 +01:00
Vicent Marti
2cbca8b06c
include: Unify internal include strategies
...
Do not add the `git2` path to internal includes, or that will cause
an extra path dependency.
2011-11-18 01:43:27 +01:00
Vicent Marti
bb742ede3d
Cleanup legal data
...
1. The license header is technically not valid if it doesn't have a
copyright signature.
2. The COPYING file has been updated with the different licenses used in
the project.
3. The full GPLv2 header in each file annoys me.
2011-09-19 01:54:32 +03:00
Lambert CLARA
a6bbb8cab6
Add missing GIT_BEGIN_DECL and GIT_END_DECL to indexer header
2011-08-13 10:56:33 +02:00
Carlos Martín Nieto
65cb1586c4
Document the indexer calls
...
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-08-03 14:02:49 +02:00
Carlos Martín Nieto
48b3ad4f15
Move pack index writing to a public function
...
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-08-03 14:02:49 +02:00
Carlos Martín Nieto
b7c44096ae
Implement the indexer
...
Only v2 index files are supported.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-08-03 14:02:41 +02:00
Carlos Martín Nieto
ab525a7463
Rename stuff to git_indexer_
...
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-08-02 21:41:33 +02:00
Carlos Martín Nieto
f23c4a66bd
Start the runner
...
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
2011-08-02 21:41:05 +02:00
Carlos Martín Nieto
3412391d4c
Intial indexer code
2011-08-02 21:41:02 +02:00