| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Tobias Meinhardt <tobias.meinhardt89@gmail.com>
|
|\
| |
| | |
git: Fix typo
|
| |
| |
| | |
Signed-off-by: Jeremy Schlatter <jeremy.schlatter@gmail.com>
|
|\ \
| | |
| | | |
git: Fix typo
|
| |/
| |
| | |
Signed-off-by: Jeremy Schlatter <jeremy.schlatter@gmail.com>
|
|\ \
| | |
| | | |
worktree: allow manual ignore patterns when no .gitignore is available
|
| | |
| | |
| | |
| | | |
Signed-off-by: Fabian Sabau <fabian.sabau+git@gmail.com>
|
|/ /
| |
| |
| | |
Signed-off-by: Fabian Sabau <fabian.sabau+git@gmail.com>
|
|\ \
| | |
| | | |
git: fix goroutine block while pushing a remote
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
On session.ReceivePack error the gororutine doing the encoding got
blocked either writing objects to the pipe or sending error to the done
channel. The problem did not cause a perceived problem but left blocked
goroutines.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|\ \
| |/
|/| |
plumbing/cache: check for empty cache list
|
|/
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
Remove Unicode normalization in difftree
|
| |
| |
| |
| |
| |
| | |
Fixes #1057
Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
|
|\ \
| | |
| | | |
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>
|
|\ \ \
| | | |
| | | | |
remote: speed up pushes when the "remote" repo is local
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Issue: #909
Signed-off-by: Jeremy Stribling <strib@alum.mit.edu>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
|\ \ \
| | | |
| | | | |
worktree: add sentinel error for non-fast-forward pull
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: Alexey Smirnov <unlinkat@gmail.com>
|
|\ \ \
| | | |
| | | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | | |
CheckAndSetReference
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>
|
|\ \ \
| | | |
| | | | |
storage/filesystem: check file object before using cache
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If the cache is shared between several repositories getFromUnpacked can
erroneously return an object from other repository.
This decreases performance a little bit as there's an extra fs operation
when the object is in the cache but is correct when the cache is shared.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|\ \ \
| | | |
| | | | |
Implement git log --all
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: kuba-- <kuba@sourced.tech>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: kuba-- <kuba@sourced.tech>
|
|/ / /
| | |
| | |
| | | |
Signed-off-by: kuba-- <kuba@sourced.tech>
|
|\ \ \
| | | |
| | | | |
Simplify return statement in receivePackNoCheck
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Fixes #1035
Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
|
|\ \ \
| | | |
| | | | |
storage/dotgit: use fs capabilities in setRef
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
Do not use tags to check if the filesystem is able to open files
in read/write mode.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
|
|\ \ \
| | | |
| | | | |
git: return better error message when packfile cannot be downloaded
|
| | | |
| | | |
| | | |
| | | | |
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>
|
|\ \ \
| | | |
| | | | |
repository: fix plain clone error handling regression
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
PR #1008 introduced a regression by changing the errors returned by
PlainClone when a repository did not exist.
This change goes back to returned errors as they were in v4.7.0.
Fixes #1027
Signed-off-by: Santiago M. Mola <santi@mola.io>
|
|\ \ \
| | | |
| | | | |
plumbing: format/index: support for EOIE extension
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|