| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|
|\ \
| | |
| | | |
plumbing: cache, enforce the use of cache in packfile decoder
|
| | |
| | |
| | |
| | | |
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Decoder object can make use of an object cache to speed up processing.
Previously the only way to specify it was changing manually the struct
generated by NewDecodeForFile. This lead to some instances to be created
without it and penalized performance.
Now the cache should be explicitly passed to the constructor function.
NewDecoder now creates objects with a cache using the default size.
A new helper function was added to create cache objects with the default
size as this becomes a common task now:
cache.NewObjectLRUDefault()
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|\ \
| |/
|/| |
plumbing: packafile, improve delta reutilization
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Remove wrong 'if' on delta selector that causes poor delta reutilizations
- packfile.Encoder now can write deltas and objects in a non specific order
- ObjectToPack now saves the Offset on the packfile to be able to obtain base
offset in a recursive manner and write them before the delta itself
- Added encoder test to check cyclic delta chains
- Check the output packfile hash in all encoder tests
Signed-off-by: Antonio Jesus Navarro Perez <antnavper@gmail.com>
|
|\ \
| | |
| | | |
git: Worktree.Grep() support multiple patterns and pathspecs
|
| | |
| | |
| | |
| | | |
Signed-off-by: Sunny <me@darkowlzz.space>
|
|\ \ \
| |_|/
|/| | |
README.md update
|
| | |
| | |
| | |
| | | |
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|
|\ \ \
| |_|/
|/| | |
*: simplication
|
|/ /
| |
| |
| |
| |
| | |
- no unnecessary err/bool check, uses them directly
Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
|
|/
|
| |
This change implemented grep on worktree with options to invert match and specify pathspec. Also, a commit hash or reference can be used to specify the worktree to search.
|
|\
| |
| | |
check .ssh/config for host and port overrides; fixes #629
|
| |
| |
| |
| | |
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|
| | |
|
|\ \
| | |
| | | |
License upgrade, plus code of conduct and contributing guidelines
|
| | |
| | |
| | |
| | | |
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: Máximo Cuadros <mcuadros@gmail.com>
|
|\ \ \
| |_|/
|/| | |
doc: update compatibility for clean
|
|/ /
| |
| |
| |
| |
| | |
Fixed in #675
Signed-off-by: Sunny <me@darkowlzz.space>
|
|\ \
| | |
| | | |
object: patch, fix stats for submodules (fixes #654)
|
| | |
| | |
| | |
| | |
| | |
| | | |
ignored
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|
| | | |
|
| | | |
|
| |/
|/|
| |
| | |
This change adds a new method Alternates() in DotGit to check and
query alternate source.
|
|\ \
| |/
|/| |
git: worktree, add Clean() method for git clean
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This change implement git clean with a `Dir` option. By default, clean
removes only the untracked files in the working directory. If `Dir`
option is set to true, untracked files under other directories are also
cleaned.
|
|\ \
| |/
|/| |
dotgit: use Equal method of time.Time for equality
|
|/ |
|
|
|
| |
fix Repository.ResolveRevision for branch and tag
|
|\
| |
| | |
all: gofmt -s
|
| | |
|
|\ \
| |/
|/| |
storage/repository: add new functions for garbage collection
|
| |
| |
| |
| |
| |
| | |
Windows file system doesn't let us rename over a file while holding
that file's lock, so use rewrite as a last resort. It could result in
a partially-written file, if there's a failure at the wrong time.
|
| |
| |
| |
| | |
Windows doesn't like it when we re-open a file we already have locked.
|
| | |
|
| |
| |
| |
| |
| | |
Also, object re-packing should clean up any loose objects that were
packed.
|
| |
| |
| |
| | |
Suggested by mcuadros.
|
| |
| |
| |
| |
| |
| | |
Suggested by mcuadros.
Issue: #669
|
| |
| |
| |
| |
| |
| |
| | |
This allows the user to check whether an object exists, without
reading all the object data from storage.
Issue: KBFS-2445
|
| | |
|
| | |
|
| | |
|