Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use EqualFold for comparison | Oleg Kovalov | 2020-07-06 | 2 | -2/+2 |
| | |||||
* | 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 |
| | | |||||
| * | Merge branch 'master' of github.com:go-git/go-git into scope-config | Máximo Cuadros | 2020-05-24 | 10 | -41/+187 |
| |\ | |/ |/| | |||||
* | | Merge pull request #71 from kappyhappy/master | Máximo Cuadros | 2020-05-21 | 3 | -1/+41 |
|\ \ | | | | | | | Remote.Push: support force option | ||||
| * | | Remote.Push: support force option | kappyhappy | 2020-05-21 | 3 | -1/+41 |
|/ / | |||||
* | | Merge pull request #63 from pyaillet/doc/submodule-update-example | Máximo Cuadros | 2020-05-19 | 2 | -0/+56 |
|\ \ | | | | | | | _examples: submodule, adding an example with submodule update | ||||
| * | | doc: add submodule to example index | Pierre-Yves Aillet | 2020-05-18 | 1 | -0/+1 |
| | | | |||||
| * | | _examples: submodule, adding an example with submodule update | Pierre-Yves Aillet | 2020-05-14 | 1 | -0/+55 |
| | | | | | | | | | | | | | | | the goal of this pull request is to add an example of how to make the equivalent of `git submodule update --remote` with `go-git` | ||||
* | | | Merge pull request #66 from twpayne/diff-reset-color-on-line | Máximo Cuadros | 2020-05-18 | 2 | -37/+64 |
|\ \ \ | |/ / |/| | | plumbing: diff, reset color at end of line | ||||
| * | | plumbing: diff, reset color at end of line rather than at beginning of next | Tom Payne | 2020-05-17 | 2 | -37/+64 |
|/ / | |||||
* | | Merge pull request #62 from mcuadros/commit-patch-nil | Máximo Cuadros | 2020-05-13 | 3 | -4/+27 |
|\ \ | | | | | | | plumbing: object, Commit.Patch support to as nil | ||||
| * | | plumbing: object, Commit.Patch support to as nil | Máximo Cuadros | 2020-05-13 | 3 | -4/+27 |
|/ / | |||||
| * | Repository.SetConfig, shortcut to Repository.Storer.SetConfig | Máximo Cuadros | 2020-05-24 | 1 | -1/+10 |
| | | |||||
| * | Repository.ConfigScoped and Repository.Commit with empty author support | Máximo Cuadros | 2020-05-24 | 8 | -27/+117 |
| | | |||||
| * | config: ReadConfig and LoadConfig from scopes | Máximo Cuadros | 2020-05-24 | 3 | -15/+94 |
| | | |||||
| * | config: Config.[User|Author|Commit] marshal/unmarshal | Máximo Cuadros | 2020-05-24 | 2 | -8/+103 |
| | | |||||
| * | Revert "Merge pull request #20 from quorumcontrol/feature/other-configs" | Máximo Cuadros | 2020-05-24 | 7 | -612/+35 |
| | | | | | | | | | | This reverts commit 3127ad9a44a2ee935502816065dfe39f494f583d, reversing changes made to 73c52edaad2dae256be61bd1dbbab08e1092f58e. | ||||
| * | Revert "Merge pull request #31 from lcostea/liviu/add_save_config_changes" | Máximo Cuadros | 2020-05-24 | 1 | -4/+0 |
|/ | | | | | This reverts commit 53f87846a196c856e00fe825bc5f29551b2ea524, reversing changes made to bb3a1bfcc62224001d577b933355661259b80854. | ||||
* | Merge pull request #58 from go-git/exact-sha1 | Máximo Cuadros | 2020-05-11 | 6 | -5/+100 |
|\ | | | | | Remote.Fetch: support exact SHA1 refspecs | ||||
| * | Remote.Fetch: support exact SHA1 refspecs | Máximo Cuadros | 2020-05-11 | 2 | -2/+62 |
| | | |||||
| * | config: RefSpec.IsExactSHA1, validates if the refspec describes an exact ↵ | Máximo Cuadros | 2020-05-10 | 4 | -3/+38 |
| | | | | | | | | SHA1 ref | ||||
* | | Merge pull request #57 from vashish1/Rename_Changed | Máximo Cuadros | 2020-05-10 | 1 | -4/+4 |
|\ \ | |/ |/| | plumbing: object, Fixed the ambiguous implicit conversions causing errors while building . | ||||
| * | performed explicit conversions(needed) | vashish1 | 2020-05-08 | 1 | -4/+4 |
|/ | |||||
* | Merge pull request #54 from go-git/fix/rename-exact-gaps | Máximo Cuadros | 2020-05-04 | 2 | -8/+30 |
|\ | | | | | plumbing: exact renames detection could leave gaps in the changes | ||||
| * | plumbing: exact renames detection could leave gaps in the changes | Miguel Molina | 2020-05-04 | 2 | -8/+30 |
|/ | | | | | | | | | This fixes an issue where exact renames detection could leave gaps with nil changes in the added and deleted change slices. That could lead to panics in the content rename detection and others if the user had set OnlyExact to true. Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | Merge pull request #47 from twpayne/diff-cleanup | Máximo Cuadros | 2020-05-01 | 1 | -216/+166 |
|\ | | | | | Cleanup `diff` package | ||||
| * | plumbing: diff, refresh internals | Tom Payne | 2020-05-01 | 1 | -216/+166 |
|/ | |||||
* | Merge pull request #49 from gopye/fix_patch_comment | Máximo Cuadros | 2020-04-30 | 1 | -1/+1 |
|\ | | | | | Remove unnecessary text from comment | ||||
| * | Remove unnecessary text from comment | gopye | 2020-04-29 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #46 from twpayne/fix-diff-color | Máximo Cuadros | 2020-04-30 | 4 | -30/+68 |
|\ \ | | | | | | | Fix issues in colored diffs |