| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Large performance increase by buffering reads.
There were a few instances where binary.Read() would end up using reflection on
&plumbing.Hash, rather than treating it as a byte slice. This has now been
resolved.
Signed-off-by: Arran Walker <arran.walker@fiveturns.org>
|
|
|
|
|
|
| |
signature
Signed-off-by: Filip Navara <navara@emclient.com>
|
|
|
|
|
|
|
|
|
|
| |
The Decode method was adding one too many newlines to the tag message,
causing signature verification to fail. This is because in signed tags
produced by `git`, there is a newline after the PGP signature block,
resulting in `messageAndSig` having one extra (empty) `[]byte` element.
This caused `t.Message` to receive one extra newline.
Signed-off-by: Spencer Judd <spencercjudd@gmail.com>
|
|
|
| |
plumbing: commit.StatsContext and fix for root commit
|
|\
| |
| | |
plumbing: object, Count stats properly when no new line added at the …
|
| |
| |
| |
| | |
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|
| |
| |
| |
| |
| |
| | |
Fixes #1074
Signed-off-by: Oleksii Shnyra <oleksii@global>
|
| |
| |
| |
| | |
Signed-off-by: niukuo <niukuo@gmail.com>
|
|/
|
|
| |
Signed-off-by: niukuo <niukuo@gmail.com>
|
|
|
|
|
|
|
|
| |
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>
|
|\
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | | |
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>
|
| |
| |
| |
| | |
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: kuba-- <kuba@sourced.tech>
|
| |
| |
| |
| | |
Signed-off-by: kuba-- <kuba@sourced.tech>
|
| |
| |
| |
| | |
Signed-off-by: kuba-- <kuba@sourced.tech>
|
| |
| |
| |
| |
| |
| | |
Fixes #1035
Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
|
| |
| |
| |
| | |
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>
|
|\ \
| | |
| | | |
plumbing: format/index: support for EOIE extension
|
| | |
| | |
| | |
| | | |
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|
|\ \ \
| | | |
| | | | |
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>
|
|\ \ \
| | | |
| | | |
| | | | |
mccurdyc/Issue#969/fix-flaky-ssh-test
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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: Dave Henderson <dhenderson@gmail.com>
|
| |/
| |
| |
| | |
Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
|
|/
|
|
| |
Signed-off-by: Colton McCurdy <mccurdyc22@gmail.com>
|
|
|
|
|
|
|
| |
Suggested by mcuadros.
Issue: src-d/go-git#982
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
|
|
|
|
| |
Signed-off-by: Santiago M. Mola <santi@mola.io>
|
|
|
|
| |
Signed-off-by: Jongmin Kim <jmkim@pukyong.ac.kr>
|
|
|
|
| |
Signed-off-by: kuba-- <kuba@sourced.tech>
|
|
|
|
| |
Signed-off-by: kuba-- <kuba@sourced.tech>
|
|\ |
|
| |\
| | |
| | | |
Fix `fatal: corrupt patch` error in unified diff format
|
| | |
| | |
| | |
| | | |
Signed-off-by: Antonio Jesus Navarro Perez <antnavper@gmail.com>
|