Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | 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. | |||||
* | | Merge pull request #88 from distorhead/cherryPickCommonDirSupport | Máximo Cuadros | 2020-06-16 | 8 | -2/+370 | |
|\ \ | | | | | | | storage: filesystem, support .git/commondir repository layout | |||||
| * | | Support `.git/commondir` repository layout | Timofey Kirillov | 2020-06-15 | 8 | -2/+370 | |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Git creates `.git/commondir` when there are custom worktrees (see "git worktree add" related commands). `.git/commondir` in such case contains a link to another dot-git repository tree, which could contain some folders like: - objects; - config; - refs; - etc. In this PR a new dotgit.RepositoryFilesystem struct is defined, which is billy.Filesystem interface compatible object-wrapper, that can handle commondir and dispatch all operations to the correct file path. `git.PlainOpen` remain unchanged, but `git.PlainOpenWithOptions` has a new option: `PlainOpenOptions.EnableDotGitCommonDir=true|false` (which is false by default). When `EnableDotGitCommonDir=true` repository-open procedure will read `.git/commondir` (if it exists) and then create dotgit.RepositoryFilesystem object initialized with 2 filesystems. This object then passed into storage and then into dotgit.DotGit as `billy.Filesystem` interface. This object will catch all filesystem operations and dispatch to the correct repository-filesystem (dot-git or common-dot-git) according to the rules described in the doc: https://git-scm.com/docs/gitrepository-layout#Documentation/gitrepository-layout.txt. EnableDotGitCommonDir option will only work with the filesystem-backed storage. Also worktree_test.go has been adopted from an older, already existing existing PR: https://github.com/src-d/go-git/pull/1098. This PR needs new fixtures added in the following PR: https://github.com/go-git/go-git-fixtures/pull/1. | |||||
* | | _examples: tag-create-push, remove defaultSignature | Máximo Cuadros | 2020-06-14 | 1 | -16/+3 | |
| | | ||||||
* | | Worktree.AddWithOptions: improve documentation and interface | Máximo Cuadros | 2020-06-14 | 3 | -8/+46 | |
| | | ||||||
* | | Merge pull request #80 from lcostea/master | Máximo Cuadros | 2020-06-14 | 2 | -0/+162 | |
|\ \ | | | | | | | examples: tag, Add create and push new tag | |||||
| * | | Trigger workflow | Liviu Costea | 2020-06-01 | 0 | -0/+0 | |
| | | | ||||||
| * | | examples, tag: Show git command | Liviu Costea | 2020-06-01 | 1 | -13/+6 | |
| | | | ||||||
| * | | examples: tag, Add create and push new tag | Liviu Costea | 2020-05-31 | 2 | -0/+169 | |
| |/ | ||||||
* | | Merge pull request #86 from jk2K/master | Máximo Cuadros | 2020-06-14 | 3 | -36/+117 | |
|\ \ | | | | | | | feat: add file with using .gitignore, fixed src-d/go-git#1219 | |||||
| * | | feat: add file with using .gitignore, fixed src-d/go-git#1219 | jk2k | 2020-06-10 | 3 | -36/+117 | |
|/ / | ||||||
* | | Merge pull request #84 from go-git/tag-author | Máximo Cuadros | 2020-06-05 | 4 | -12/+155 | |
|\ \ | |/ |/| | CreateTagOptions.Validate: load Tagger from config | |||||
| * | CreateTagOptions.Validate: load Tagger from config | Máximo Cuadros | 2020-06-05 | 4 | -12/+155 | |
|/ | ||||||
* | Merge pull request #73 from WKBae/close_objectv5.1.0 | Máximo Cuadros | 2020-05-24 | 8 | -14/+55 | |
|\ | | | | | Close Reader & Writer of EncodedObject after use | |||||
| * | Close Reader & Writer of EncodedObject after use | Kyungmin Bae | 2020-05-24 | 8 | -14/+55 | |
| | | ||||||
* | | Merge pull request #75 from mcuadros/scope-config | Máximo Cuadros | 2020-05-24 | 17 | -682/+376 | |
|\ \ | |/ |/| | repository.ConfigScoped and worktree.Commit with empty CommitOptions | |||||
| * | _examples: config example | Máximo Cuadros | 2020-05-24 | 2 | -18/+20 | |
| | |