| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
iterator twice
Signed-off-by: Filip Navara <filip.navara@gmail.com>
|
|
|
|
|
|
| |
using iterator and not loading CRC
Signed-off-by: Filip Navara <filip.navara@gmail.com>
|
|
|
|
| |
Signed-off-by: Filip Navara <filip.navara@gmail.com>
|
|\
| |
| | |
plumbing: format/gitattributes support
|
| |
| |
| |
| |
| |
| | |
Implements gitattributes parsing, matching and attribute extraction.
Signed-off-by: Arran Walker <arran.walker@fiveturns.org>
|
|\ \
| | |
| | | |
plumbing: format/commitgraph, add APIs for reading and writing commit-graph files
|
| | |
| | |
| | |
| | |
| | |
| | | |
file binary identical
Signed-off-by: Filip Navara <filip.navara@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Filip Navara <filip.navara@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Filip Navara <filip.navara@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Filip Navara <filip.navara@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
files
Signed-off-by: Filip Navara <filip.navara@gmail.com>
|
|\ \ \
| |/ /
|/| | |
plumbing: packfile, apply small object reading optimization also for delta objects
|
| | |
| | |
| | |
| | | |
Signed-off-by: Filip Navara <navara@emclient.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Filip Navara <navara@emclient.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
FSObject
Signed-off-by: Filip Navara <navara@emclient.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
used by getNextObject in the subsequent statement
Signed-off-by: Filip Navara <navara@emclient.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Filip Navara <navara@emclient.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Filip Navara <navara@emclient.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Filip Navara <filip.navara@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Filip Navara <filip.navara@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
plumbing.AnyObject
Signed-off-by: Filip Navara <filip.navara@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
new one
Signed-off-by: Filip Navara <filip.navara@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Filip Navara <navara@emclient.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
objects
Signed-off-by: Filip Navara <navara@emclient.com>
|
|\ \ \
| |_|/
|/| | |
plumbing: packfile/scanner, readability/performance improvements, zlib pooling
|
| |/
| |
| |
| | |
Signed-off-by: Arran Walker <arran.walker@fiveturns.org>
|
|\ \
| | |
| | | |
filesystem: ObjectStorage, MaxOpenDescriptors option
|
| |/
| |
| |
| |
| |
| |
| |
| | |
The MaxOpenDescriptors option provides a middle ground solution between keeping
all packfiles open (as offered by the KeepDescriptors option) and keeping none
open.
Signed-off-by: Arran Walker <arran.walker@fiveturns.org>
|
|\ \
| | |
| | | |
plumbing: format/index perf, buffered reads, reflection removal
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Large performance increase by buffering reads.
There were a few instances where binary.Read() would end up using reflection on
&plumbing.Hash, rather than treating it as a byte slice. This has now been
resolved.
Signed-off-by: Arran Walker <arran.walker@fiveturns.org>
|
|/
|
|
| |
Signed-off-by: Filip Navara <navara@emclient.com>
|
|
|
|
| |
Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
|
|
|
|
| |
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|
|
|
|
|
|
|
| |
Previously the error message when the connection was closed while
fetching was "object not found" and was misleading. Now when the
packfile size is 0 the error "unable to fetch packfile" is returned.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|
|
|
|
|
| |
commit histories (#963)
Signed-off-by: Filip Navara <navara@emclient.com>
|
|\
| |
| | |
plumbing: format/index: support for EOIE extension
|
| |
| |
| |
| | |
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|
|\ \
| | |
| | | |
plumbing/format/packfile: Fix broken "thin" packfile support. Fixes #991
|
| | |
| | |
| | |
| | | |
Signed-off-by: Javier Peletier <jm@epiclabs.io>
|
| |/
| |
| |
| | |
Signed-off-by: Javier Peletier <jm@epiclabs.io>
|
|/
|
| |
Signed-off-by: Antonio Jesus Navarro Perez <antnavper@gmail.com>
|
|
|
|
|
|
|
| |
Suggested by mcuadros.
Issue: src-d/go-git#982
Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
|
|
|
|
| |
Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
|
|
|
|
| |
Signed-off-by: Jongmin Kim <jmkim@pukyong.ac.kr>
|
|\
| |
| | |
Fix `fatal: corrupt patch` error in unified diff format
|
| |
| |
| |
| | |
Signed-off-by: Antonio Jesus Navarro Perez <antnavper@gmail.com>
|
|/
|
|
| |
Signed-off-by: kuba-- <kuba@sourced.tech>
|
|
|
|
|
|
|
|
|
|
|
|
| |
After clone only resolved deltas were added to the cache. This caused
slowdowns in small repositories where most objects can be held in cache.
It also makes packfiles reuse delta cache from the store. Previously it
created a new delta cache each time a packfile object was created. This
also slowed down a bit accessing objects and had an impact on memory
consumption when bases are added to the cache.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
In the latest change the order was changed from offset order in
packfiles to hash order. This makes reading all the objects not as
efficient as before. It also created problems when the previous order
was expected.
Also added EntriesByOffset to indexes.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|
|
|
|
|
| |
Fixes #923
Signed-off-by: Fedor Korotkov <fedor.korotkov@gmail.com>
|