| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Suggested by taruti.
Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
|
|
|
|
|
|
| |
Without reading the entire object into memory.
Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
|
|
|
|
| |
Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
|
|
|
| |
plumbing: object, Add support for Log with filenames. Fixes #826
|
|\
| |
| | |
config: Add test for Windows local paths.
|
| |
| |
| |
| | |
Signed-off-by: Filip Navara <navara@emclient.com>
|
|\ \
| | |
| | | |
git: Fix Status.IsClean() documentation
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The documentation of the IsClean Method contained a negation, so it was
describing the opposite of its actual behavior.
Fixes #838
Signed-off-by: David Url <david@urld.io>
|
|\ \ \
| | | |
| | | | |
use time.IsZero in Prune
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: u5surf <u5.horie@gmail.com>
|
|\ \ \ \
| |/ / /
|/| | | |
test: improve test for urlencoded user:pass
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: Santiago M. Mola <santi@mola.io>
|
|\ \ \
| |_|/
|/| | |
all: remove extra 's' in "mismatch"
|
|/ /
| |
| |
| | |
Signed-off-by: Jongmin Kim <jmkim@pukyong.ac.kr>
|
|\ \
| | |
| | | |
storage/filesystem: keep packs open in PackfileIter
|
| | |
| | |
| | |
| | | |
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
PackfileIter was not taking into account the option KeepDescriptors
and was always closing the file. This caused "file already closed"
errors when iterating packfiles in with KeepDescriptors active.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|\ \
| | |
| | | |
Fix potential LRU cache size issue.
|
| | |
| | |
| | |
| | | |
Signed-off-by: kuba-- <kuba@sourced.tech>
|
|/ /
| |
| |
| | |
Signed-off-by: kuba-- <kuba@sourced.tech>
|
| | |
|
| |
| |
| |
| | |
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>
|