| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
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>
|
|\ \ \
| | | |
| | | | |
storage/filesystem: Added reindex method to reindex packfiles
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Javier Peletier <jm@epiclabs.io>
|
|\ \ \ \
| | | | |
| | | | | |
plumbing/format/packfile: Fix broken "thin" packfile support. Fixes #991
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Javier Peletier <jm@epiclabs.io>
|
| |/ / /
| | | |
| | | |
| | | | |
Signed-off-by: Javier Peletier <jm@epiclabs.io>
|
| |/ /
|/| |
| | | |
Signed-off-by: Antonio Jesus Navarro Perez <antnavper@gmail.com>
|
|\ \ \
| | | |
| | | | |
repository: Fix RefSpec for a single tag.
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Fedor Korotkov <fedor.korotkov@gmail.com>
|
|\ \ \ \
| |/ / /
|/| | | |
plumbing: ssh, Fix flaky test TestAdvertisedReferencesNotExists. Fixes #969
|
| |\ \ \
| |/ / /
|/| | |
| | | | |
mccurdyc/Issue#969/fix-flaky-ssh-test
|
|\ \ \ \
| | | | |
| | | | | |
http: improve TokenAuth documentation
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Users are often confused with TokenAuth, since it might look that it
should be used with GitHub's OAuth tokens. But that is not the case.
TokenAuth implements HTTP bearer authentication. Most git servers will
use HTTP basic authentication (user+passwords) even for OAuth tokens.
Signed-off-by: Santiago M. Mola <santi@mola.io>
|
| | | |
| | | |
| | | | |
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|
|\ \ \ \
| | | | |
| | | | | |
cleanup after failed clone
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Santiago M. Mola <santi@mola.io>
|
|/ / / /
| | | |
| | | |
| | | | |
Signed-off-by: Bartek Jaroszewski <jaroszewskibartek@gmail.com>
|
|\ \ \ \
| | | | |
| | | | | |
update gcfg dependency to v1.4.0
|