Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | simplified sparse checkout | John Cai | 2021-11-09 | 2 | -0/+22 |
| | | | | | | | | | This is the initial logic to support a simple sparse checkout where directories to be included can be specified in CheckoutOptions. This change doesn't fully support the sparse patterns, nor does this change include the optimization to collapse flie entries in ithe index that are excluded via the sparse checkout directory patterns included under the parent directory. | ||||
* | Support v3 index | John Cai | 2021-11-05 | 2 | -14/+46 |
| | | | | | | Currently the index encoder does not support the v3 index format. This change adds support to the encoder. This helps to unlock sparse checkout. | ||||
* | Merge pull request #399 from S-Bohn/add-push-options | Máximo Cuadros | 2021-11-01 | 3 | -1/+53 |
|\ | | | | | Remote: PushOptions add push-options | ||||
| * | plumbing: packp, Add encoding for push-options. Fixes #268. | Sören Bohn | 2021-10-26 | 3 | -1/+53 |
| | | | | | | | | go-git: Add field `Options` to `PushOptions`, wire functionality. | ||||
* | | better tests | enisdenjo | 2021-10-27 | 1 | -39/+9 |
| | | |||||
* | | plumbing: gitignore, Read .git/info/exclude file too. | enisdenjo | 2021-10-27 | 2 | -10/+58 |
|/ | |||||
* | 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. |