| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|
|\
| |
| | |
git: Add tagging support
|
| |
| |
| |
| | |
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|
| |\
| |/
|/| |
|
|\ \
| | |
| | | |
Fix `fatal: corrupt patch` error in unified diff format
|
| | |
| | |
| | |
| | | |
Signed-off-by: Antonio Jesus Navarro Perez <antnavper@gmail.com>
|
|\ \ \
| | | |
| | | | |
Expose Storage cache.
|
| |/ /
| | |
| | |
| | | |
Signed-off-by: kuba-- <kuba@sourced.tech>
|
|/ /
| |
| | |
Signed-off-by: kuba-- <kuba@sourced.tech>
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mark Bartel <github@spottybenny.ca>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mark Bartel <github@spottybenny.ca>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Mark Bartel <github@spottybenny.ca>
|
|\ \ \
| | | |
| | | | |
storage/dotgit: add KeepDescriptors option
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Using equals to compare files it uses diff to do so. This can
potentially consume lots of ram. Changed the comparison to use file
offsets. If the descriptor is reused the offset is maintained.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also delete Close from MockObjectStorage and memory storer.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This option maintains packfile file descriptors opened after reading
objects from them. It improves performance as it does not have to be
opening packfiles each time an object is needed.
Also adds Close to EncodedObjectStorer to close all the files manualy.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|\ \ \
| | | |
| | | | |
plumbing/storer: add ExclusiveAccess option to Storer
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This functionality was already tested in storage/filesystem.
The coverage tool only takes into account files from the same
package of the test.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also adds Static configuration to Storage and DotGit. This option means
that the git repository is not expected to be modified while open and
enables some optimizations.
Each time a file is accessed the storer tries to open an object file for
the requested hash. When this is done for a lot of objects it is
expensive. With Static option a list of object files is generated the
first time an object is accessed and used to check if exists instead of
using system calls.
A similar optimization is done for packfiles.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
keybase/taruti/cherrypick-for-upstream-clamp-object-timestamp
Clamp object timestamps before unix epoch to unix epoch
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Taru Karttunen <taruti@taruti.net>
|
|\ \ \ \ \
| | | | | |
| | | | | | |
config: add commentChar to core config struct
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: Zaq? Wiedmann <zaquestion@gmail.com>
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
Remove empty dirs when cleaning with Dir opt.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Signed-off-by: kuba-- <kuba@sourced.tech>
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
Signed-off-by: kuba-- <kuba@sourced.tech>
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
storage/dotgit: search for incoming dir only once
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also reformatted function comment and fixed some typos.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Search for incoming object directory was done once each time objects
were accessed. This means a ReadDir of the objects path that is
expensive. Now incoming directory is searched the first time an object
is accessed and its name kept in DotGit to be reused.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|\ \ \ \
| | | | |
| | | | | |
plumbing, storage: add bases to the common cache
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
|\ \ \ \
| | | | |
| | | | | |
plumbing/idxfile: object iterators returns entries in offset order
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
|\ \ \ \
| | | | |
| | | | | |
added support for quarantine directory
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Santiago M. Mola <santi@mola.io>
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: noxora <ldecker@indeed.com>
trying a possible fix to the delete test
Signed-off-by: noxora <ldecker@indeed.com>
still trying to fix this test
Signed-off-by: noxora <ldecker@indeed.com>
fixes did not work, seems to be a windows env problem
Signed-off-by: noxora <ldecker@indeed.com>
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
plumbing/object: fix panic when reading object header
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When the first line of the pgp signature is an empty line or some header
is malformed it crashes as there's no data for the header element. For
example, if author name is "\n".
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Fixed an edge case for .gitignore
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes #923
Signed-off-by: Fedor Korotkov <fedor.korotkov@gmail.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Just renaming the TagObjectOptions type to CreateTagOptions so that it's
consistent with the other option types.
Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
|