Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | | examples: remote fix typo (#408) | NeP | 2021-12-10 | 1 | -1/+1 | |
|/ / / / / / | ||||||
* | | | | | | Merge pull request #407 from john-cai/jc-support-index-v3 | Máximo Cuadros | 2021-11-08 | 2 | -14/+46 | |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | plumbing: format, support v3 index | |||||
| * | | | | | 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. | |||||
| * / / / | Add Atomic to push options | John Cai | 2021-11-03 | 3 | -0/+25 | |
|/ / / / | | | | | | | | | | | | | | | | | | | | | push --atomic allows a push to succeed or fail atomically. If one ref fails, the whole push fails. This commit allows the user to set Atomic as an option for a push. | |||||
| | * | | resolve external reference deltas | paul.t | 2021-10-11 | 1 | -0/+11 | |
| | | | | ||||||
| * | | | include example codecommit pack file | paul.t | 2021-11-09 | 1 | -0/+0 | |
| | | | | ||||||
| * | | | add codecommit packfile for testing external ref resolution | paul.t | 2021-11-09 | 1 | -0/+14 | |
| | | | | ||||||
| * | | | Merge branch 'go-git:master' into codecommit-ref-delta | Paul T | 2021-11-02 | 14 | -43/+469 | |
| |\ \ \ | |/ / / |/| | | | ||||||
* | | | | Merge pull request #399 from S-Bohn/add-push-options | Máximo Cuadros | 2021-11-01 | 5 | -1/+62 | |
|\ \ \ \ | | | | | | | | | | | Remote: PushOptions add push-options | |||||
| * | | | | plumbing: packp, Add encoding for push-options. Fixes #268. | Sören Bohn | 2021-10-26 | 5 | -1/+62 | |
| | | | | | | | | | | | | | | | | | | | | go-git: Add field `Options` to `PushOptions`, wire functionality. | |||||
* | | | | | Merge pull request #325 from tjamet/push/sha | Máximo Cuadros | 2021-11-01 | 3 | -2/+141 | |
|\ \ \ \ \ | | | | | | | | | | | | | Remote: Push, add support to push commits per hashes | |||||
| * | | | | | Document the push refspec format | Thibault Jamet | 2021-10-28 | 1 | -2/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Taken from `git help push` and adapted to match the supported features only. Future iterations of this feature may include better support for git "SHA-1 expression", documented in `git help push` as: > any arbitrary "SHA-1 expression", such as master~4 or HEAD (see gitrevisions(7)). | |||||
| * | | | | | Add support to push commits per hashes | Thibault Jamet | 2021-10-28 | 2 | -0/+133 | |
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using plain git, the command `git push ${sha}:refs/heads/some-branch` actually ensures that the remote branch `some-branch` points to the commit `${sha}`. In the current version of go-git, this results in an "everything is up to date" error. When a source reference is not found, check the object storage to find the sha. If it is found, consider pushing this exact commit. fixes: #105 | |||||
* | | | | | Merge pull request #402 from enisdenjo/gitdir-info-exclude | Máximo Cuadros | 2021-11-01 | 2 | -12/+30 | |
|\ \ \ \ \ | | | | | | | | | | | | | plumbing: gitignore, Read .git/info/exclude file too. | |||||
| * | | | | | better tests | enisdenjo | 2021-10-27 | 1 | -39/+9 | |
| | | | | | | ||||||
| * | | | | | plumbing: gitignore, Read .git/info/exclude file too. | enisdenjo | 2021-10-27 | 2 | -10/+58 | |
| |/ / / / | ||||||
* | | | | | Merge pull request #403 from tklauser/bump-ssh-agent-module | Máximo Cuadros | 2021-11-01 | 2 | -23/+15 | |
|\ \ \ \ \ | | | | | | | | | | | | | *: update github.com/xanzy/ssh-agent to v0.3.1 | |||||
| * | | | | | Update github.com/xanzy/ssh-agent to v0.3.1 | Tobias Klauser | 2021-10-29 | 2 | -23/+15 | |
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commands used: go get github.com/xanzy/ssh-agent@latest go mod tidy | |||||
* | | | | | Merge pull request #374 from snebel29/feat/add-example | Máximo Cuadros | 2021-11-01 | 2 | -0/+39 | |
|\ \ \ \ \ | |/ / / / |/| | | | | examples: added "tag find if head is tagged" | |||||
| * | | | | examples: add find-if-any-tag-point-head | Sven Nebel | 2021-09-24 | 2 | -0/+39 | |
| | |/ / | |/| | | | | | | | | | | Signed-off-by: Sven Nebel <nebel.sven@gmail.com> | |||||
* | | | | Merge pull request #375 from noerw/add-remoteurl-option | Máximo Cuadros | 2021-10-26 | 4 | -5/+33 | |
|\ \ \ \ | | | | | | | | | | | Remote: add RemoteURL to {Fetch,Pull,Push}Options | |||||
| * | | | | add tests | Norwin | 2021-09-28 | 1 | -0/+12 | |
| | | | | | ||||||
| * | | | | Add RemoteURL to {Fetch,Pull,Push}Options | Norwin | 2021-09-15 | 3 | -5/+21 | |
| |/ / / | | | | | | | | | | | | | | | | | Can be used to override the URL to operate on: RemoteName will be ignored for the actual fetch | |||||
* | | | | Merge pull request #385 from john-cai/add-follow-tags | Máximo Cuadros | 2021-10-26 | 4 | -0/+149 | |
|\ \ \ \ | |/ / / |/| | | | git: add --follow-tags option for pushes | |||||
| * | | | git: add --follow-tags option for pushes | John Cai | 2021-10-05 | 4 | -0/+149 | |
|/ / / | | | | | | | | | | This PR adds support for the --follow-tags option for pushes. | |||||
| * / | resolve external reference delta | paul.t | 2021-10-11 | 1 | -0/+11 | |
|/ / | ||||||
* / | 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 | 13 | -43/+601 | |
| | | | | | | | | | | | | | | | 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 | 7 | -422/+1 | |
| | | | | | into memory completely (#303)" (#329) This reverts commit 720c192831a890d0a36b4c6720b60411fa4a0159. | |||||
* | remote: patch default timeout for `List` (#321)v5.4.1 | Nicolas Chagrass | 2021-05-24 | 1 | -1/+1 | |
| | | | It looks a test value was shipped breaking a lot of the usage of the library. | |||||
* | plumbing: format/packfile, prevent large objects from being read into memory ↵v5.4.0 | zeripath | 2021-05-12 | 7 | -1/+422 | |
| | | | | | | | | | | | 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 | 3 | -2/+70 | |
| | ||||||
* | plumbing: transport/http, skip flaky test | Máximo Cuadros | 2021-05-03 | 1 | -0/+4 | |
| | ||||||
* | go modules: update go-git-fixtures | Máximo Cuadros | 2021-05-03 | 2 | -5/+10 | |
| | ||||||
* | *: use go-billy instead of os calls | Máximo Cuadros | 2021-05-02 | 25 | -568/+521 | |
| | ||||||
* | utils: ioutil, Pipe implementatio | Máximo Cuadros | 2021-05-02 | 6 | -4/+33 | |
| | ||||||
* | plumbing: format, use os.UserHomeDir() | Máximo Cuadros | 2021-05-02 | 9 | -155/+72 | |
| | ||||||
* | Remote: new ListContext function (#278) | Xiang Xiujuan | 2021-04-21 | 2 | -1/+30 | |
| | ||||||
* | plumbing: transport/file, replace os/exec with golang.org/x/sys/execabs to ↵ | Máximo Cuadros | 2021-04-17 | 3 | -9/+12 | |
| | | | | 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> | |||||
* | Repository: test, use raw string to avoid double-escape (#288) | Jeff Widman | 2021-04-16 | 1 | -1/+1 | |
| | ||||||
* | *: remove unused unexported const (#286) | Jeff Widman | 2021-04-16 | 1 | -2/+0 | |
| | | | This is never used in the code, and not available publicly, so safe to remove. | |||||
* | *: typo fixes #291 | Jeff Widman | 2021-04-16 | 1 | -2/+2 | |
| | ||||||
* | Minor doc fixes (#287) | Jeff Widman | 2021-04-16 | 5 | -14/+10 | |
| | ||||||
* | plumbing: object, fix TestDecodeAndVerify test | Máximo Cuadros | 2021-04-16 | 1 | -44/+53 | |
| | ||||||
* | Fetch submodules pointing to orphaned but still reachable commits (#284) | Nikolay Edigaryev | 2021-04-06 | 1 | -0/+18 | |
| | ||||||
* | *: replace golang.org/x/crypto/openpgp by ↵ | Johan Fleury | 2021-04-06 | 11 | -98/+61 | |
| | | | | 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 | |
| | ||||||
* | go modules updated | Máximo Cuadros | 2021-03-26 | 2 | -10/+48 | |
| |