| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | | |
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>
|
|\ \ \ \
| | | | |
| | | | | |
plumbing: TreeWalker performance improvement, bufio pool for objects
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Removes path.Clean and path.Join, as they're expensive in comparison to basic
string manipulation that can be used here.
Adds bufio.Buffer pool to be used by tag, tree and commit object decoding.
Signed-off-by: Arran Walker <arran.walker@fiveturns.org>
|
|\ \ \ \
| |/ / /
|/| | | |
plumbing: idxfile, avoid unnecessary building of reverse offset/hash map
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: Filip Navara <navara@emclient.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
signature
Signed-off-by: Filip Navara <navara@emclient.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Decode method was adding one too many newlines to the tag message,
causing signature verification to fail. This is because in signed tags
produced by `git`, there is a newline after the PGP signature block,
resulting in `messageAndSig` having one extra (empty) `[]byte` element.
This caused `t.Message` to receive one extra newline.
Signed-off-by: Spencer Judd <spencercjudd@gmail.com>
|
| |
| |
| | |
plumbing: commit.StatsContext and fix for root commit
|
|\ \
| |/
|/| |
plumbing: object, Count stats properly when no new line added at the …
|
| |
| |
| |
| | |
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|
| |
| |
| |
| |
| |
| | |
Fixes #1074
Signed-off-by: Oleksii Shnyra <oleksii@global>
|
| |
| |
| |
| | |
Signed-off-by: niukuo <niukuo@gmail.com>
|
|/
|
|
| |
Signed-off-by: niukuo <niukuo@gmail.com>
|
|
|
|
|
|
|
|
| |
If there is wrong data in the cache it may cause the eviction code to
empty the object list and cause a panic. This patch adds a check and
sets the cache usage to 0 when this happens.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|\
| |
| | |
Ignore missing references/objects on log --all
|
| |
| |
| |
| | |
Signed-off-by: Antonio Jesus Navarro Perez <antnavper@gmail.com>
|
| |
| |
| |
| |
| |
| | |
To mimic the actual standard git behavior, we must ignore references that are pointing to wrong/unexistent objects.
Signed-off-by: Antonio Jesus Navarro Perez <antnavper@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This factors out some URL-parsing code from the transport layer so it
can be used by config as well.
Issue: #909
Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
`ObjectsWithStorageForIgnores` is the same as `Objects`, but a
secondary storage layer can be provided, to be used to finding the
full set of objects to be ignored while finding the reachable objects.
This is useful when the main `s` storage layer is slow and/or remote,
while the ignore list is available somewhere local.
Issue: #909
Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
|
|\ \
| | |
| | | |
packfile: get object size correctly for delta objects
|
| |/
| |
| |
| | |
Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
|
|\ \
| |/
|/| |
storage: transactional, new storage with transactional capabilities
|
| |
| |
| |
| | |
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: kuba-- <kuba@sourced.tech>
|
| |
| |
| |
| | |
Signed-off-by: kuba-- <kuba@sourced.tech>
|
| |
| |
| |
| | |
Signed-off-by: kuba-- <kuba@sourced.tech>
|
| |
| |
| |
| |
| |
| | |
Fixes #1035
Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
|
| |
| |
| |
| | |
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>
|