Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | plumbing/storer/object: improve grammar Go Doc (#350) | Christopher Hunter | 2021-07-24 | 1 | -4/+4 |
| | |||||
* | plumbing: format/packfile, prevent large objects from being read into memory ↵ | zeripath | 2021-06-30 | 8 | -33/+405 |
| | | | | | | | | | | | | | | | completely (#330) This PR adds code to prevent large objects from being read into memory from packfiles or the filesystem. Objects greater than 1Mb are now no longer directly stored in the cache or read completely into memory. This PR differs and improves the previous broken #323 by fixing several bugs in the reader and transparently wrapping ReaderAt as a Reader. Signed-off-by: Andrew Thornton <art27@cantab.net> | ||||
* | Revert "plumbing: format/packfile, prevent large objects from being read ↵v5.4.2 | zeripath | 2021-06-02 | 4 | -313/+0 |
| | | | | | into memory completely (#303)" (#329) This reverts commit 720c192831a890d0a36b4c6720b60411fa4a0159. | ||||
* | plumbing: format/packfile, prevent large objects from being read into memory ↵v5.4.0 | zeripath | 2021-05-12 | 4 | -0/+313 |
| | | | | | | | | | | | completely (#303) This PR adds code to prevent large objects from being read into memory from packfiles or the filesystem. Objects greater than 1Mb are now no longer directly stored in the cache or read completely into memory. Signed-off-by: Andrew Thornton <art27@cantab.net> | ||||
* | plumbing: object/patch, printStat strings.Repeat cause panic (#310) | cookeem | 2021-05-12 | 1 | -2/+10 |
| | |||||
* | git: Add support for deepening shallow clones (#311) | Marcus Watkins | 2021-05-12 | 1 | -1/+1 |
| | |||||
* | plumbing: transport/http, skip flaky test | Máximo Cuadros | 2021-05-03 | 1 | -0/+4 |
| | |||||
* | *: use go-billy instead of os calls | Máximo Cuadros | 2021-05-02 | 6 | -153/+31 |
| | |||||
* | utils: ioutil, Pipe implementatio | Máximo Cuadros | 2021-05-02 | 2 | -2/+3 |
| | |||||
* | plumbing: format, use os.UserHomeDir() | Máximo Cuadros | 2021-05-02 | 9 | -155/+72 |
| | |||||
* | plumbing: transport/file, replace os/exec with golang.org/x/sys/execabs to ↵ | Máximo Cuadros | 2021-04-17 | 1 | -9/+9 |
| | | | | improve path security | ||||
* | plumbing: transport/ssh, support more formats in `NewPublicKeys` SSH helper ↵ | Hidde Beydals | 2021-04-17 | 2 | -18/+11 |
| | | | | | | | | | | | | | | | (#298) * Add failing ED25519 encrypted PEM test Signed-off-by: Hidde Beydals <hello@hidde.co> * Support more formats in `NewPublicKeys` SSH helper By switching to `ParsePrivateKey` and `ParsePrivateKeyWithPassphrase` from `crypto/ssh`, which has support for RSA (PKCS#1), PKCS#8, DSA (OpenSSL), and ECDSA private keys. Signed-off-by: Hidde Beydals <hello@hidde.co> | ||||
* | plumbing: object, fix TestDecodeAndVerify test | Máximo Cuadros | 2021-04-16 | 1 | -44/+53 |
| | |||||
* | *: replace golang.org/x/crypto/openpgp by ↵ | Johan Fleury | 2021-04-06 | 4 | -89/+47 |
| | | | | github.com/ProtonMail/go-crypto/openpgp (#283) | ||||
* | plumbing: transport/ssh, fix no agent test on windowsv5.3.0 | Máximo Cuadros | 2021-03-29 | 1 | -1/+1 |
| | |||||
* | *: fix flaky test | Máximo Cuadros | 2021-03-26 | 1 | -0/+4 |
| | |||||
* | plumbing: wire up contexts for Transport.AdvertisedReferences (#246) | Andrew Suffield | 2021-03-26 | 7 | -7/+64 |
| | | | | | * plumbing: wire up contexts for Transport.AdvertisedReferences * add more tests for context wiring | ||||
* | transport: ssh, fix cloning large repositories (#272) | David Cuadrado | 2021-03-26 | 2 | -1/+29 |
| | | | | | | | | | | | | | | | | | * Fix cloning large repositories Ignore the error on close when the connection is already closed Fixes #70 * Compatibility for go 1.13 Because it's required by the pipeline * Add test for allowing to close a command when the client is already closed This test is for issue #70 * Add debug information for broken test | ||||
* | diff: Allow srcPrefix and dstPrefix to be configured (#265) | Andrew Nelson | 2021-03-11 | 2 | -6/+53 |
| | | | | | | | | | * diff: Allow srcPrefix and dstPrefix to be configured The default behavior here remains the same, but this change does allow consumers of the UnifiedEncoder to set their own path prefixes which will override the defaults of a/ and b/. * Add unit test for src/dstPrefix in encoder | ||||
* | plumbing: gitignore, Fix gitconfig path in LoadSystemPatterns doc (#256) | Andrew Archibald | 2021-03-10 | 1 | -1/+1 |
| | |||||
* | Add insecureSkipTLS and cabundle (#228) | Daishan Peng | 2021-01-27 | 2 | -1/+40 |
| | | | | | This PR add insecureSkipTLSVerify and cabundle to any remote http calls so that https repo with private CA signed can be used. This is the equivalent of https.sslVerify and GIT_SSL_CAINFO | ||||
* | Adding "object-format" and "filter" capabilities (#222) | Roberto O. Fernández Crisial | 2021-01-27 | 1 | -1/+8 |
| | | | | * plumbing: protocol/packp, Adding object-format and filter capabilities. Fixes #220 | ||||
* | Merge pull request #112 from MichaelMure/complete-config | Máximo Cuadros | 2020-10-09 | 6 | -56/+369 |
|\ | | | | | config: add missing functions for completeness | ||||
| * | Add tests | vince | 2020-08-27 | 3 | -9/+267 |
| | | |||||
| * | config: add missing functions for completeness | Michael Muré | 2020-06-24 | 3 | -47/+102 |
| | | |||||
* | | Merge pull request #125 from cristaloleg/minor-linter-fixes | Máximo Cuadros | 2020-07-16 | 4 | -7/+4 |
|\ \ | | | | | | | *: minor linter fixes | ||||
| * | | Minor linter fixes | Oleg Kovalov | 2020-07-06 | 4 | -7/+4 |
| | | | |||||
* | | | Merge pull request #115 from blaueled/fix/gitignore-crlf | Máximo Cuadros | 2020-07-14 | 2 | -11/+19 |
|\ \ \ | | | | | | | | | .gitignore crlf fix | ||||
| * | | | fix typo | Arne Westphal | 2020-06-29 | 1 | -1/+1 |
| | | | | |||||
| * | | | test CRLF in GFS case | Arne Westphal | 2020-06-29 | 1 | -4/+12 |
| | | | | |||||
| * | | | replace ReadAll by bufio.scanner | Arne Westphal | 2020-06-29 | 1 | -6/+6 |
| | |/ | |/| | |||||
* | | | Merge pull request #128 from cristaloleg/minor-perf-fixes | Máximo Cuadros | 2020-07-14 | 2 | -2/+2 |
|\ \ \ | | | | | | | | | Use EqualFold for comparison | ||||
| * | | | Use EqualFold for comparison | Oleg Kovalov | 2020-07-06 | 2 | -2/+2 |
| | |/ | |/| | |||||
* | | | Merge pull request #121 from riking/cache-seek | Máximo Cuadros | 2020-07-10 | 2 | -3/+42 |
|\ \ \ | | | | | | | | | plumbing: memoryobject, make blob reader seekable | ||||
| * | | | memoryobject: make blob reader seekable | Kane York | 2020-07-06 | 2 | -3/+42 |
| | |/ | |/| | | | | | | | Replace the bytes.Buffer with a bytes.Reader wrapped in a custom NopCloser, so that the extra reading methods are sill accessible. | ||||
* | | | Use only one name for receiver | Oleg Kovalov | 2020-07-06 | 7 | -52/+52 |
| |/ |/| | |||||
* | | fix nil | Oleg Kovalov | 2020-07-01 | 6 | -6/+7 |
| | | |||||
* | | fix goreportcard warnings | Oleg Kovalov | 2020-07-01 | 29 | -40/+48 |
|/ | |||||
* | Merge pull request #73 from WKBae/close_objectv5.1.0 | Máximo Cuadros | 2020-05-24 | 6 | -12/+41 |
|\ | | | | | Close Reader & Writer of EncodedObject after use | ||||
| * | Close Reader & Writer of EncodedObject after use | Kyungmin Bae | 2020-05-24 | 6 | -12/+41 |
| | | |||||
* | | Merge branch 'master' of github.com:go-git/go-git into scope-config | Máximo Cuadros | 2020-05-24 | 5 | -41/+91 |
|\| | |||||
| * | plumbing: diff, reset color at end of line rather than at beginning of next | Tom Payne | 2020-05-17 | 2 | -37/+64 |
| | | |||||
| * | plumbing: object, Commit.Patch support to as nil | Máximo Cuadros | 2020-05-13 | 3 | -4/+27 |
| | | |||||
* | | Revert "Merge pull request #20 from quorumcontrol/feature/other-configs" | Máximo Cuadros | 2020-05-24 | 1 | -261/+0 |
|/ | | | | | This reverts commit 3127ad9a44a2ee935502816065dfe39f494f583d, reversing changes made to 73c52edaad2dae256be61bd1dbbab08e1092f58e. | ||||
* | Merge pull request #58 from go-git/exact-sha1 | Máximo Cuadros | 2020-05-11 | 2 | -0/+16 |
|\ | | | | | Remote.Fetch: support exact SHA1 refspecs | ||||
| * | config: RefSpec.IsExactSHA1, validates if the refspec describes an exact ↵ | Máximo Cuadros | 2020-05-10 | 2 | -0/+16 |
| | | | | | | | | SHA1 ref | ||||
* | | performed explicit conversions(needed) | vashish1 | 2020-05-08 | 1 | -4/+4 |
|/ | |||||
* | plumbing: exact renames detection could leave gaps in the changes | Miguel Molina | 2020-05-04 | 2 | -8/+30 |
| | | | | | | | | | This fixes an issue where exact renames detection could leave gaps with nil changes in the added and deleted change slices. That could lead to panics in the content rename detection and others if the user had set OnlyExact to true. Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | plumbing: diff, refresh internals | Tom Payne | 2020-05-01 | 1 | -216/+166 |
| | |||||
* | Merge pull request #49 from gopye/fix_patch_comment | Máximo Cuadros | 2020-04-30 | 1 | -1/+1 |
|\ | | | | | Remove unnecessary text from comment |