Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | worktree: Don't remove root directory when cleaning (#230) | hansmi | 2021-01-27 | 2 | -1/+33 | |
| | | | | | | | When using a separate worktree directory while working on a bare repository, cleaning with CleanOptions{Dir: true} would also remove the root worktree directory if empty. Signed-off-by: Michael Hanselmann <public@hansmi.ch> | |||||
* | Add insecureSkipTLS and cabundle (#228) | Daishan Peng | 2021-01-27 | 6 | -20/+85 | |
| | | | | | 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 | |||||
* | config: support insteadOf for remotes' URLs (#79) | Kostya Ostrovsky | 2020-12-01 | 4 | -2/+239 | |
| | ||||||
* | Merge pull request #178 from tomlazar/defaultbranch | Máximo Cuadros | 2020-10-30 | 2 | -0/+56 | |
|\ | | | | | config: add init.defaultBranch to the config | |||||
| * | add some tests | Thomas Lazar | 2020-10-09 | 1 | -0/+27 | |
| | | ||||||
| * | Add init.defaultBranch to the config | Thomas Lazar | 2020-09-30 | 2 | -0/+29 | |
| | | ||||||
* | | Merge pull request #195 from adracus/fix.relative-submodules | Máximo Cuadros | 2020-10-30 | 3 | -27/+42 | |
|\ \ | | | | | | | Fix relative submodule resolution | |||||
| * | | Fix relative submodule resolution | Axel Christ | 2020-10-28 | 3 | -27/+42 | |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the current behavior, the config will always hold the resolved, absolute URL, leavin the user of go-git no choice to determine whether the original URL is relative or not. This changes to employ relative URL resolution only when resolving a submodule to a repository to keep the correct configuration 'unresolved' and intact. Change relative resolution using `filepath.Dir` to `path.Join` while parsing both the 'root' and the relative URL with `net/url.URL`. Adapt test to verify the new behavior. Re-fixes #184 (see comments). | |||||
* | | Merge pull request #184 from mikyk10/master | Máximo Cuadros | 2020-10-20 | 2 | -2/+70 | |
|\ \ | | | | | | | git: worktree, Support relative submodule URL. | |||||
| * | | git: worktree, Support relative submodule URL. | Mitsutaka Naito | 2020-10-13 | 2 | -2/+70 | |
|/ / | ||||||
* | | Merge pull request #162 from yabberyabber/fetch-errorv5.2.0 | Máximo Cuadros | 2020-10-09 | 2 | -1/+16 | |
|\ \ | | | | | | | Fetch should return a unique error type when ref not found | |||||
| * | | Fetch should return a unique error type when ref not found | andrew2nelson | 2020-09-02 | 2 | -1/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It can be useful for callers to distinguish between an error of "couldn't find remote ref" and some other error like "network error". Creating an explicit error type for this allows consumers to determine the kind of error using the errors.Is and errors.As interface added in go1.13 | |||||
* | | | 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 #161 from ashokponkumar/master | Máximo Cuadros | 2020-09-04 | 2 | -0/+22 | |
|\ \ \ | |_|/ |/| | | PlainOpenWithOptions: support file path | |||||
| * | | support file path in PlainOpenWithOptions - do only when detect flag is enabled | Ashok Pon Kumar | 2020-09-02 | 2 | -2/+6 | |
| | | | ||||||
| * | | support file path in PlainOpenWithOptions | Ashok Pon Kumar | 2020-09-02 | 2 | -0/+18 | |
|/ / | ||||||
* | | Merge pull request #158 from chrisgavin/fix-force-push-delete-reference | Máximo Cuadros | 2020-08-31 | 2 | -1/+26 | |
|\ \ | | | | | | | git: remote, Fix deleting references when force pushing. | |||||
| * | | git: remote, Fix deleting references when force pushing. | Chris Gavin | 2020-08-28 | 2 | -1/+26 | |
|/ / | ||||||
* | | Merge pull request #146 from fatelei/clone_with_ssh | Máximo Cuadros | 2020-08-24 | 2 | -0/+53 | |
|\ \ | | | | | | | chore: add an exmaple: clone with ssh | |||||
| * | | chore: add an exmaple: clone with ssh | fatelei | 2020-08-22 | 2 | -0/+53 | |
|/ / | ||||||
* | | Merge pull request #139 from StupidScience/113-git-commit-all-fix | Máximo Cuadros | 2020-07-21 | 1 | -2/+8 | |
|\ \ | | | | | | | Worktree.Commit: speed up commit with all: true option | |||||
| * | | speed up commit with all: true option | Anton Kaymakchi | 2020-07-21 | 1 | -2/+8 | |
|/ / | ||||||
* | | Merge pull request #125 from cristaloleg/minor-linter-fixes | Máximo Cuadros | 2020-07-16 | 9 | -24/+18 | |
|\ \ | | | | | | | *: minor linter fixes | |||||
| * | | revert time.Unix typecast | Oleg Kovalov | 2020-07-14 | 1 | -1/+1 | |
| | | | ||||||
| * | | fix slice capacity | Oleg Kovalov | 2020-07-07 | 1 | -1/+1 | |
| | | | ||||||
| * | | Minor linter fixes | Oleg Kovalov | 2020-07-06 | 10 | -25/+19 | |
| | | | ||||||
* | | | Merge pull request #136 from dsymonds/revparse-partial-hash | Máximo Cuadros | 2020-07-16 | 8 | -10/+234 | |
|\ \ \ | | | | | | | | | Repository.ResolveRevision, support partial hashes | |||||
| * | | | Support partial hashes in Repository.ResolveRevision. | David Symonds | 2020-07-16 | 8 | -10/+234 | |
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Like `git rev-parse <prefix>`, this enumerates the hashes of objects with the given prefix and adds them to the list of candidates for resolution. This has an exhaustive slow path, which requires enumerating all objects and filtering each one, but also a couple of fast paths for common cases. There's room for future work to make this faster; TODOs have been left for that. Fixes #135. | |||||
* | | | 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 #123 from cristaloleg/check-err-fix | Máximo Cuadros | 2020-07-10 | 2 | -6/+8 | |
|\ \ \ | | | | | | | | | *: skip error check explicitly | |||||
| * | | | Skip error check explicitly | Oleg Kovalov | 2020-07-06 | 2 | -6/+8 | |
| |/ / | ||||||
* | | | 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. | |||||
* | | | | Merge pull request #124 from cristaloleg/use-one-name-for-receiver | Máximo Cuadros | 2020-07-10 | 8 | -54/+54 | |
|\ \ \ \ | | | | | | | | | | | *: use only one name for receiver | |||||
| * | | | | Use only one name for receiver | Oleg Kovalov | 2020-07-06 | 8 | -54/+54 | |
| | |/ / | |/| | | ||||||
* | | | | Merge pull request #127 from cristaloleg/dont-skip-error | Máximo Cuadros | 2020-07-10 | 1 | -2/+1 | |
|\ \ \ \ | |/ / / |/| | | | Dont skip error | |||||
| * | | | Dont skip error | Oleg Kovalov | 2020-07-06 | 1 | -2/+1 | |
|/ / / | ||||||
* | | | Merge pull request #117 from cristaloleg/fix-goreportcard | Máximo Cuadros | 2020-07-06 | 54 | -75/+93 | |
|\ \ \ | |_|/ |/| | | fix goreportcard warnings | |||||
| * | | fix nil | Oleg Kovalov | 2020-07-01 | 7 | -9/+11 | |
| | | | ||||||
| * | | fix goreportcard warnings | Oleg Kovalov | 2020-07-01 | 48 | -67/+83 | |
|/ / | ||||||
* | | Merge pull request #109 from mruediger/master | Máximo Cuadros | 2020-06-24 | 2 | -1/+27 | |
|\ \ | | | | | | | Worktre: Pull, report "Already up to date" when local repository ahead of remote | |||||
| * | | Report "Already up to date" when local repository ahead of remote | Mathias Rüdiger | 2020-06-22 | 2 | -1/+27 | |
|/ / | | | | | | | | | | | | | If you run 'git pull', do a commit and run 'git pull' again git will report "Already up to date" whereas go-git would report a reports non-fast-forward update. This commit changes the behavior of go-git to match that of git. |