Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #44 from tzneal/mine/fix-32-bit-build | Máximo Cuadros | 2020-04-30 | 1 | -1/+1 |
|\ | | | | | fix 32 bit build | ||||
| * | fix 32 bit build | Todd Neal | 2020-04-27 | 1 | -1/+1 |
| | | | | | | | | Discovered while building on a Raspberry Pi | ||||
* | | Merge pull request #45 from gopye/fix_change_test_typo | Máximo Cuadros | 2020-04-29 | 1 | -1/+1 |
|\ \ | |/ |/| | Fix typo | ||||
| * | Fix typo in comment of func TestCancel | gopye | 2020-04-27 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #42 from mcuadros/renames-tree | Máximo Cuadros | 2020-04-27 | 3 | -16/+55 |
|\ | | | | | plumbing: object, make renames diff default | ||||
| * | Merge branch 'master' of github.com:go-git/go-git into renames-tree | Máximo Cuadros | 2020-04-25 | 1 | -4/+5 |
| |\ | |||||
| * | | plumbing: object, make renames diff default | Máximo Cuadros | 2020-04-25 | 3 | -16/+55 |
| | | | |||||
* | | | Merge pull request #40 from twpayne/feature/diff-color | Máximo Cuadros | 2020-04-26 | 4 | -10/+244 |
|\ \ \ | |_|/ |/| | | Add initial colored diff support | ||||
| * | | plumbing: diff, Add initial colored output support. Fixes #33. | Tom Payne | 2020-04-26 | 4 | -10/+244 |
|/ / | |||||
* | | Merge pull request #43 from go-git/fix-git-compatibility | Máximo Cuadros | 2020-04-25 | 1 | -4/+5 |
|\ \ | |/ |/| | ci: fix CI, git compaitiblity | ||||
| * | ci: fix CI, git compaitiblity | Máximo Cuadros | 2020-04-25 | 1 | -4/+5 |
|/ | |||||
* | Merge pull request #39 from kevans91/fixread | Máximo Cuadros | 2020-04-24 | 2 | -1/+24 |
|\ | | | | | storage/filesystem: dotgit, sanity check provided reference path | ||||
| * | storage/filesystem: dotgit, sanity check provided reference path | Kyle Evans | 2020-04-23 | 2 | -1/+12 |
| | | | | | | | | | | | | | | | | | | | | On some operating systems, read() of a directory fd may actually succeed and return garbage resembling on-disk contents. As a result, dotgit may return successful from readReferenceFile() when it should in-fact not. This fixes readReferenceFile() on FreeBSD. Signed-off-by: Kyle Evans <kevans@FreeBSD.org> | ||||
| * | storage/filesystem: dotgit, add a test for reading refs from a directory | Kyle Evans | 2020-04-23 | 1 | -1/+13 |
|/ | | | | | | Specifically, the problem demonstrated is that on some OS (e.g. FreeBSD), read() on a directory will succeed. The current implementation will accept that and return incorrect results, rather than rejecting the directory. | ||||
* | Merge pull request #38 from go-git/feature/difftree-renames | Máximo Cuadros | 2020-04-23 | 5 | -8/+1382 |
|\ | | | | | plumbing: detect renames by hash and similar content in diff tree | ||||
| * | plumbing: detect renames by hash and similar content in diff tree | Miguel Molina | 2020-04-23 | 5 | -8/+1382 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit implements the rename detection algorithms used in the JGit implementation. Given a list of changes, additions and deletions are extracted and matched in two ways: - By exact hash content: all additions and deletions are grouped by the content hash and paired with the best match based on the file mode and file path. All the files that cannot be paired are kept as regular deletions and additions. - By similar content: a matrix of addition and deletion pairs with all possible combinations is created and scored by how similar the content is between both files as well as how similar the file path is. The pairs with the best score and whose score is equal or greater than a threshold are paired and turned into a rename. All the files that cannot be paired are kept as regular deletions and additions. DiffTree and DiffTreeContext will not return the changes with renames detected for compatibility reasons, although this will change in v6 so that detecting renames is the default behaviour. A new function DiffTreeWithOptions has been added to configure the parameters for the rename detection to control the score threshold, the limit of renames and whether to use similar content detection in the detection. More information: - https://github.com/eclipse/jgit/blob/master/org.eclipse.jgit/src/org/eclipse/jgit/diff/RenameDetector.java - https://github.com/eclipse/jgit/blob/master/org.eclipse.jgit/src/org/eclipse/jgit/diff/SimilarityRenameDetector.java - https://github.com/eclipse/jgit/blob/master/org.eclipse.jgit/src/org/eclipse/jgit/diff/SimilarityIndex.java Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | | Merge pull request #31 from lcostea/liviu/add_save_config_changes | Máximo Cuadros | 2020-04-18 | 1 | -0/+4 |
|\ \ | |/ |/| | examples: config, Show how to save config changes | ||||
| * | examples: config, Show how to save config changes | Liviu Costea | 2020-04-18 | 1 | -0/+4 |
|/ | |||||
* | Merge pull request #29 from empire/patch-1 | Máximo Cuadros | 2020-04-16 | 1 | -1/+1 |
|\ | | | | | Fix example's link in README.md | ||||
| * | Fix example's link in README.md | Hossein Zolfi | 2020-04-16 | 1 | -1/+1 |
|/ | | | Fix example's link in README.md. It refers to the old project location. | ||||
* | Merge pull request #27 from davorao/master | Máximo Cuadros | 2020-04-14 | 1 | -1/+1 |
|\ | | | | | Change the link of the storer docs | ||||
| * | Change the link of the storer docs | davorao | 2020-04-13 | 1 | -1/+1 |
|/ | | | | | Change storer: - from godoc.org - to pkg.go.dev | ||||
* | Merge pull request #20 from quorumcontrol/feature/other-configs | Máximo Cuadros | 2020-04-07 | 7 | -35/+612 |
|\ | | | | | plumbing: format, config.Merged to allow access to local and global config | ||||
| * | Simplify a couple of config examples | Wes Morgan | 2020-04-07 | 1 | -2/+2 |
| | | |||||
| * | Add advanced usage note to config example | Wes Morgan | 2020-04-07 | 1 | -0/+4 |
| | | |||||
| * | Document some things in format/config/merged.go | Wes Morgan | 2020-04-07 | 1 | -1/+39 |
| | | |||||
| * | Fix dotgit tests | Wes Morgan | 2020-04-06 | 1 | -3/+3 |
| | | |||||
| * | Add funcs to set global & local config in Merged | Wes Morgan | 2020-04-06 | 1 | -0/+8 |
| | | |||||
| * | Add Merged config | Wes Morgan | 2020-04-06 | 6 | -32/+559 |
| | | | | | | | | ...for reading and writing global (~/.git/config) and reading system (/etc/gitconfig) configs in addition to local repo config | ||||
* | | Merge pull request #24 from jfontan/fix-compatibility-tests | Máximo Cuadros | 2020-04-07 | 1 | -5/+4 |
|\ \ | | | | | | | ci: fix compatibility tests for master | ||||
| * | | ci: fix compatibility tests | Javi Fontan | 2020-04-07 | 1 | -5/+4 |
|/ / | | | | | | | Signed-off-by: Javi Fontan <jfontan@gmail.com> | ||||
* | | Merge pull request #22 from mcuadros/fix-empty | Máximo Cuadros | 2020-04-07 | 3 | -9/+30 |
|\ \ | |/ |/| | plumbing: transport, fix handling of empty adv-refs on upload-pack | ||||
| * | plumbing: transport, fix handling of empty adv-refs on upload-pack | Máximo Cuadros | 2020-04-07 | 3 | -9/+30 |
| | | |||||
* | | Merge pull request #13 from marnovo/patch-2 | Máximo Cuadros | 2020-03-22 | 1 | -1/+1 |
|\ \ | | | | | | | Fix typo on gitsight reference | ||||
| * | | Fix typo on gitsight reference | Marcelo Novaes | 2020-03-21 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #11 from brandonwestcott/fix/empty-packfile-server | Máximo Cuadros | 2020-03-19 | 2 | -5/+37 |
|\ \ | | | | | | | plumbing: transport server check for nil Packfile, fixes ref deletes | ||||
| * | | plumbing: transport server test for nil Packfile | Brandon Westcott | 2020-03-19 | 1 | -0/+30 |
| | | | |||||
| * | | plumbing: transport server check for nil Packfile, fixes ref deletes | Brandon Westcott | 2020-03-19 | 1 | -5/+7 |
|/ / | |||||
* | | Merge pull request #10 from bufdev/compatibility-file-protocol | Máximo Cuadros | 2020-03-19 | 1 | -1/+1 |
|\ \ | | | | | | | Update COMPATIBILITY.md to reflect git binary usage for file protocol | ||||
| * | | Update COMPATIBILITY.md to reflect git binary usage for file protocol | bufdev | 2020-03-18 | 1 | -1/+1 |
|/ / | | | | | | | Signed-off-by: bufdev <bufdev-github@buf.build> | ||||
* / | README.md: change CI badge | Máximo Cuadros | 2020-03-16 | 1 | -1/+1 |
|/ | |||||
* | Worktree: revert url change on test | Máximo Cuadros | 2020-03-16 | 1 | -1/+1 |
| | |||||
* | ci: split jobs | Máximo Cuadros | 2020-03-16 | 2 | -38/+40 |
| | |||||
* | README.md: update badges | Máximo Cuadros | 2020-03-15 | 1 | -1/+1 |
| | |||||
* | ci: based on github actionsv5.0.0 | Máximo Cuadros | 2020-03-15 | 15 | -169/+90 |
| | |||||
* | README.md: update URL and notes about project status | Máximo Cuadros | 2020-03-15 | 1 | -5/+5 |
| | |||||
* | README.md: update URL and notes about project status | Máximo Cuadros | 2020-03-15 | 1 | -6/+14 |
| | |||||
* | *: migration from go-git-fixtures/v4 and go-git/gcfg | Máximo Cuadros | 2020-03-10 | 58 | -184/+115 |
| | |||||
* | *: migration from gopkg to go modules | Máximo Cuadros | 2020-03-10 | 284 | -845/+847 |
| | |||||
* | Merge pull request #7 from dsymonds/master | Máximo Cuadros | 2020-03-10 | 1 | -2/+5 |
|\ | | | | | plumbing/object: avoid O(N^2) string building when decoding commit message |