aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #765 from matejrisek/feature/shallow-submodules-optionPaulo Gomes2023-06-073-1/+47
|\ | | | | git: add a clone option to allow for shallow cloning of submodules
| * git: add a clone option to allow for shallow cloning of submodulesmatej.risek2023-06-053-1/+47
| | | | | | | | | | This option matches the git clone option --shallow-submodules. https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---no-shallow-submodules
* | Merge pull request #756 from matejrisek/fix/scp-style-submodule-urlPaulo Gomes2023-06-052-7/+33
|\ \ | | | | | | git: fix the issue with submodules having the SCP style URL fail due to the wrong URL parsing
| * | git: fix the issue with submodules having the SCP style URL fail due to the ↵matej.risek2023-06-052-7/+33
| |/ | | | | | | wrong URL parsing
* | Merge pull request #784 from pjbgf/secPaulo Gomes2023-06-051-0/+38
|\ \ | | | | | | Add SECURITY.md
| * | *: Add SECURITY.md. Fixes: #527 #543Paulo Gomes2023-06-041-0/+38
| | | | | | | | | | | | Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* | | Merge pull request #785 from AriehSchneier/gitignore-relative-any-userPaulo Gomes2023-06-042-11/+57
|\ \ \ | | | | | | | | plumbing: gitignore, Allow gitconfig to contain a gitignore relative to any user home. Fixes #578
| * | | plumbing: gitignore, Allow gitconfig to contain a gitignore relative to any ↵Arieh Schneier2023-06-052-11/+57
|/ / / | | | | | | | | | | | | | | | user home. Fixes #578 Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
* | | Merge pull request #758 from AriehSchneier/head-not-masterPaulo Gomes2023-06-042-7/+43
|\ \ \ | |/ / |/| | git: Clone HEAD should not force master. Fixes #363
| * | git: Clone HEAD should not force master. Fixes #363Arieh Schneier2023-06-042-7/+43
|/ / | | | | | | Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
* | Merge pull request #781 from AriehSchneier/fix-gitignorePaulo Gomes2023-05-292-6/+40
|\ \ | | | | | | plumbing: gitignore, fix incorrect parsing. Fixes #500
| * | plumbing: gitignore, fix incorrect parsing. Fixes #500Arieh Schneier2023-05-292-6/+40
| | | | | | | | | | | | Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
* | | Merge pull request #763 from AriehSchneier/dont-add-want-if-havePaulo Gomes2023-05-291-4/+8
|\ \ \ | |/ / |/| | git: don't add to wants if exists, shallow and depth 1
| * | git: don't add to wants if exists, shallow and depth 1Arieh Schneier2023-05-251-4/+8
| | | | | | | | | | | | Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
* | | Merge pull request #772 from Jleagle/masterPaulo Gomes2023-05-252-0/+47
|\ \ \ | | | | | | | | Replace user dir in path
| * | | plumbing: gitignore, TypoJleagle2023-05-251-1/+1
| | | | | | | | | | | | Co-authored-by: Paulo Gomes <paulo.gomes.uk@gmail.com>
| * | | plumbing: gitignore, Allow gitconfig to contain a gitignore relative to user ↵Jleagle2023-05-252-0/+47
|/ / / | | | | | | | | | home
* | | Merge pull request #762 from AriehSchneier/fetch-non-qualifiedPaulo Gomes2023-05-254-57/+130
|\ \ \ | |/ / |/| | git: enable fetch with unqualified references
| * | git: enable fetch with unqualified referencesArieh Schneier2023-05-254-57/+130
|/ / | | | | | | Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
* | Merge pull request #778 from AriehSchneier/fix-fetch-after-shallow-v2Paulo Gomes2023-05-243-44/+116
|\ \ | | | | | | git: Fix fetching after shallow clone. Fixes #305
| * | git: Fix fetching after shallow clone. Fixes #305Arieh Schneier2023-05-243-44/+116
|/ / | | | | | | Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
* | Merge pull request #775 from pjbgf/codeqlv5.7.0Paulo Gomes2023-05-233-16/+60
|\ \ | | | | | | *: Add Codeql workflow and bump dependencies
| * | *: Bump dependenciesPaulo Gomes2023-05-232-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - github.com/ProtonMail/go-crypto to 0.0.0-20230518184743-7afd39499903. - github.com/skeema/knownhosts to 1.1.1. - golang.org/x/crypto to 0.9.0. - golang.org/x/net to 0.10.0. - golang.org/x/sys to 0.8.0. Signed-off-by: Paulo Gomes <pjbgf@linux.com>
| * | *: Add CodeQL workflowPaulo Gomes2023-05-231-0/+44
| | | | | | | | | | | | Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* | | Merge pull request #764 from techknowlogick/init-optionsPaulo Gomes2023-05-233-1/+66
|\ \ \ | |/ / |/| | git: Allow Initial Branch to be configurable
| * | git: Allow Initial Branch to be configurabletechknowlogick2023-05-213-1/+66
| |/
* | Merge pull request #776 from ↵Paulo Gomes2023-05-232-2/+3
|\ \ | | | | | | | | | | | | go-git/dependabot/go_modules/github.com/cloudflare/circl-1.3.3 build(deps): bump github.com/cloudflare/circl from 1.1.0 to 1.3.3
| * | build(deps): bump github.com/cloudflare/circl from 1.1.0 to 1.3.3dependabot[bot]2023-05-212-2/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | | | Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.1.0 to 1.3.3. - [Release notes](https://github.com/cloudflare/circl/releases) - [Commits](https://github.com/cloudflare/circl/compare/v1.1.0...v1.3.3) --- updated-dependencies: - dependency-name: github.com/cloudflare/circl dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* | Merge pull request #774 from pjbgf/go-bumpPaulo Gomes2023-05-212-13/+11
|\ \ | | | | | | *: Bump Go version to 1.18 on go.mod
| * | *: Bump Go version to 1.18 on go.modPaulo Gomes2023-05-212-13/+11
|/ / | | | | | | Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* | Merge pull request #753 from andrewpollock/add_list_timeoutPaulo Gomes2023-05-202-1/+11
|\ \ | | | | | | git: remote, add support for a configurable timeout.
| * | git: remote, add support for a configurable timeout.Andrew Pollock2023-05-122-1/+11
| | | | | | | | | | | | | | | | | | | | | The previous hard-coded 10 second value is too short for listing large repositories like https://gitlab.com/gitlab-org/gitlab Return an error on nonsensical subzero timeout values
* | | Merge pull request #770 from pjbgf/small-fixesPaulo Gomes2023-05-1554-172/+129
|\ \ \ | |/ / |/| | *: Small fixes across the codebase
| * | *: Add missing error checksPaulo Gomes2023-05-112-14/+24
| | | | | | | | | | | | | | | | | | | | | | | | Some areas of the code base were missing error checks, without them it may be harder to troubleshoot unexpected behaviours. Signed-off-by: Paulo Gomes <pjbgf@linux.com>
| * | *: Replace fmt.Sprintf with net.JoinHostPortPaulo Gomes2023-05-112-4/+5
| | | | | | | | | | | | Signed-off-by: Paulo Gomes <pjbgf@linux.com>
| * | *: Remove use of deprecated io/utilPaulo Gomes2023-05-1147-136/+96
| | | | | | | | | | | | Signed-off-by: Paulo Gomes <pjbgf@linux.com>
| * | *: Remove redudant err nil checksPaulo Gomes2023-05-114-18/+4
|/ / | | | | | | Signed-off-by: Paulo Gomes <pjbgf@linux.com>
* | Merge pull request #769 from AriehSchneier/fix-test-cleanPaulo Gomes2023-05-113-27/+31
|\ \ | |/ |/| git: Testing, Fix tests not cleaning temp folders
| * git: Testing, Fix tests not cleaning temp foldersArieh Schneier2023-05-113-27/+31
|/ | | | Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
* Merge pull request #754 from matejrisek/feature/submodule-clone-depthPaulo Gomes2023-05-043-1/+34
|\ | | | | git: Add Depth to SubmoduleUpdateOptions
| * git: Add Depth to SubmoduleUpdateOptionsmatej.risek2023-05-043-1/+34
| |
* | Merge pull request #722 from AriehSchneier/populate-indexPaulo Gomes2023-05-042-0/+25
|\ \ | | | | | | storage: filesystem, Populate index before use. Fixes #148
| * | storage: filesystem, Populate index before use. Fixes #148Arieh Schneier2023-05-042-0/+25
| | | | | | | | | | | | Signed-off-by: Arieh Schneier <15041913+AriehSchneier@users.noreply.github.com>
* | | Merge pull request #744 from aryan9600/proxy-optionsPaulo Gomes2023-05-0422-68/+883
|\ \ \ | |/ / |/| | Add support for custom proxy settings
| * | plumbing: transport/http, add support for custom proxy URLsSanskar Jaiswal2023-05-049-1/+313
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for custom HTTP and HTTPS proxies for each session. The tests require server certificate and a matching private key to be able to run a TLS server and test HTTPS proxy functionality. The cert and the key are stored in `plumbing/transport/http/testdata/certs` and were generated using the following command: `openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt` Note: All details were left empty, except for the FQDN for which example.com was used. Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
| * | plumbing: transport/http, refactor transport to cache underlying transport ↵Sanskar Jaiswal2023-05-048-45/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | objects Refactor the in-built http transport to cache the underlying http transport objects mapped to its specific options for each Git transport object. This lets us reuse the transport for a specific set of configurations as recommended. (ref: https://pkg.go.dev/net/http#Transport) If there are no transport specific options provided, the default transport is used. Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
| * | plumbing: transport/ssh, add support for custom proxy URLsSanskar Jaiswal2023-05-045-14/+287
| | | | | | | | | | | | Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
| * | plumbing/transport: add ProxyOptions to specify proxy detailsSanskar Jaiswal2023-05-044-9/+51
|/ / | | | | | | Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
* | Merge pull request #719 from cbbm142/masterPaulo Gomes2023-05-032-1/+48
|\ \ | | | | | | git: worktree, add check to see if file already checked in. Fixes #718
| * | Worktree: Status, add check to see if file already checked in [Fixes 718]John Pastore2023-05-012-1/+48
| | | | | | | | | | | | Checks if an ignored file was previously checked in. If it was, then the file is not ignored matching native git behavior.