Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #578 from erizocosmico/perf/reduce-gc-pressv4.0.0-rc15 | Máximo Cuadros | 2017-09-04 | 4 | -6/+33 |
|\ | | | | | packfile: improve performance a little by reducing gc pressure | ||||
| * | packfile: improve performance a little by reducing gc pressure | Miguel Molina | 2017-09-04 | 4 | -6/+33 |
|/ | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | Merge pull request #576 from mcuadros/clone-tags | Máximo Cuadros | 2017-09-04 | 5 | -13/+57 |
|\ | | | | | Repository.Clone added Tags option, and set by default AllTags | ||||
| * | Repository.Clone added Tags option, and set by default AllTags as git does | Máximo Cuadros | 2017-09-04 | 3 | -6/+40 |
| | | |||||
| * | Remote.Fetch Tags logic improvement and fix NoTags | Máximo Cuadros | 2017-09-04 | 2 | -7/+17 |
|/ | |||||
* | Merge pull request #573 from orirawlings/pushSideband | Máximo Cuadros | 2017-09-01 | 8 | -6/+118 |
|\ | | | | | Add sideband support for push | ||||
| * | Add sideband support for push | Ori Rawlings | 2017-09-01 | 8 | -6/+118 |
| | | |||||
* | | Merge pull request #572 from mcuadros/reset | Máximo Cuadros | 2017-09-01 | 6 | -130/+277 |
|\ \ | |/ |/| | Worktree.Reset refactor and Soft, Merge, Hard and Mixed modes | ||||
| * | Worktree.Reset ignore untracked files on Merge mode | Máximo Cuadros | 2017-09-01 | 6 | -130/+277 |
|/ | |||||
* | Merge pull request #569 from erizocosmico/fix/race-condition-dotgit-refs | Máximo Cuadros | 2017-08-29 | 1 | -10/+15 |
|\ | | | | | dotgit: avoid duplicated references returned by Refs | ||||
| * | dotgit: avoid duplicated references returned by Refs | Miguel Molina | 2017-08-29 | 1 | -10/+15 |
|/ | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | Merge pull request #567 from strib/avoid-revlist-when-deletingv4.0.0-rc14 | Máximo Cuadros | 2017-08-28 | 2 | -3/+48 |
|\ | | | | | remote: avoid expensive revlist operation when only deleting refs | ||||
| * | remote: avoid expensive revlist operation when only deleting refs | Jeremy Stribling | 2017-08-28 | 2 | -3/+48 |
| | | |||||
* | | Merge pull request #565 from strib/delta-sliding-window | Máximo Cuadros | 2017-08-28 | 2 | -1/+23 |
|\ \ | |/ |/| | plumbing: use sliding window in delta calculations, like git CL | ||||
| * | plumbing: use sliding window in delta calculations, like git CL | Jeremy Stribling | 2017-08-28 | 2 | -1/+23 |
|/ | | | | | | | | | | This sets a default sliding window of 10 for the delta calculation, just like git CL: https://git-scm.com/docs/git-pack-objects#git-pack-objects---windowltngt For a big-ish repo with 35K objects (17K commits), this reduced the time for calling `deltaSelection.walk` during a push from more than 14 minutes to about a minute. | ||||
* | Merge pull request #554 from strib/strib/fix-win-cmd-lookup | Máximo Cuadros | 2017-08-28 | 2 | -2/+2 |
|\ | | | | | plumbing: use LookPath instead of Stat to fix Windows executables | ||||
| * | plumbing: use LookPath instead of Stat to fix Windows executables | Jeremy Stribling | 2017-08-27 | 2 | -2/+2 |
| | | | | | | | | | | | | When git-core isn't in the user's PATH, we need to use `LookPath` to verify the existence of the executable, rather than `os.Stat`, so that on Windows it will search for files with executable suffixes. | ||||
* | | Merge pull request #564 from strib/tree-walker-use-seen-cache | Máximo Cuadros | 2017-08-28 | 5 | -11/+43 |
|\ \ | |/ |/| | plumbing: use `seen` map in tree walker | ||||
| * | plumbing: use `seen` map in tree walker | Jeremy Stribling | 2017-08-27 | 5 | -11/+43 |
|/ | | | | | | | This helps avoids iterating down the same trees for every commit. For a big-ish repo with 35K objects (17K commits), this reduced the time for calling `revlist.Objects` during a push (with 0 hashes to ignore) from more than ten minutes to less than a minute. | ||||
* | Merge pull request #558 from orirawlings/cloneAnnotatedTag | Máximo Cuadros | 2017-08-27 | 2 | -12/+62 |
|\ | | | | | repository: Resolve commit when cloning annotated tag, fixes #557 | ||||
| * | repository: Resolve commit when cloning annotated tag, fixes #557 | Ori Rawlings | 2017-08-24 | 2 | -12/+62 |
| | | |||||
* | | Merge pull request #563 from erizocosmico/perf/dotgit-ref-cache | Máximo Cuadros | 2017-08-27 | 2 | -24/+76 |
|\ \ | |/ |/| | dotgit: rewrite the way references are looked up | ||||
| * | dotgit: rewrite the way references are looked up | Miguel Molina | 2017-08-26 | 2 | -24/+76 |
| | | | | | | | | | | | | Now there's only two ways of getting a reference, by checking under refs/ directory or in packed-refs. refs/ directory is checked using a direct read by reference name and packed refs are cached until they have been changed. Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | | grammar correction | Zach Gershman | 2017-08-24 | 1 | -1/+1 |
|/ | | | *stopped instead of stop | ||||
* | Merge pull request #555 from mcuadros/ctx-example | Máximo Cuadros | 2017-08-22 | 3 | -0/+48 |
|\ | | | | | _examples: context | ||||
| * | _examples: context | Máximo Cuadros | 2017-08-22 | 3 | -0/+48 |
|/ | |||||
* | Merge pull request #552 from mcarmonaa/fix/packp-adv-refs-encode | Máximo Cuadros | 2017-08-19 | 2 | -38/+56 |
|\ | | | | | packp: fixed encoding when HEAD is not a valid ref | ||||
| * | packp: fixed encoding when HEAD is not a valid ref | Manuel Carmona | 2017-08-18 | 2 | -38/+56 |
|/ | |||||
* | Merge pull request #546 from orirawlings/pullExample | Máximo Cuadros | 2017-08-14 | 3 | -1/+61 |
|\ | | | | | examples: add example for pulling changes | ||||
| * | Add example for pulling changes | Ori Rawlings | 2017-08-13 | 3 | -1/+61 |
|/ | |||||
* | Merge pull request #544 from erizocosmico/fix/race-condition-object-lru | Máximo Cuadros | 2017-08-12 | 2 | -0/+39 |
|\ | | | | | fix race condition on ObjectLRU | ||||
| * | fix race condition on ObjectLRU | Miguel Molina | 2017-08-11 | 2 | -0/+39 |
|/ | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | Merge pull request #543 from erizocosmico/fix/packwriter-unused-notify | Máximo Cuadros | 2017-08-10 | 2 | -1/+22 |
|\ | | | | | prevent PackWriter from using Notify if nothing was written | ||||
| * | prevent PackWriter from using Notify if nothing was written | Miguel Molina | 2017-08-10 | 2 | -1/+22 |
|/ | | | | Signed-off-by: Miguel Molina <miguel@erizocosmi.co> | ||||
* | README.md: added appveyor | Máximo Cuadros | 2017-08-10 | 1 | -1/+1 |
| | |||||
* | Merge pull request #540 from mcarmonaa/fix/git-transport-windows-test | Máximo Cuadros | 2017-08-10 | 1 | -0/+6 |
|\ | | | | | *: windows support, skipped receive_pack_test for git transport | ||||
| * | skipped receive_pack_test for git transport in windows | Manuel Carmona | 2017-08-10 | 1 | -0/+6 |
| | | |||||
* | | Merge pull request #538 from kimh/user-current-crosscompile-error | Máximo Cuadros | 2017-08-10 | 1 | -6/+20 |
|\ \ | | | | | | | Avoid using user.Current() | ||||
| * | | Avoid using user.Current() | Kim, Hirokuni | 2017-08-08 | 1 | -6/+20 |
| |/ | | | | | | | | | user.Current() causes 'Current not implemented' error when crosscompiled. See https://github.com/golang/go/issues/6376 | ||||
* | | Merge pull request #542 from mcarmonaa/fix/config-marhal | Máximo Cuadros | 2017-08-10 | 2 | -4/+12 |
|\ \ | |/ |/| | serialized remotes in alphabetical order | ||||
| * | serialized remotes in alphabetical order | Manuel Carmona | 2017-08-10 | 2 | -4/+12 |
|/ | |||||
* | *: windows support, some more fixes (2) (#536) | Manuel Carmona | 2017-08-07 | 5 | -1/+33 |
| | | | | | | | | | | | | | | * fixed windows failed test: "143 FAIL: worktree_test.go:314: WorktreeSuite.TestFilenameNormalization" * fixed windows failed test: "489: FAIL: auth_method_test.go:106: SuiteCommon.TestNewSSHAgentAuthNoAgent" * fixed windows failed test: "279 FAIL: server_test.go:50: ServerSuite.TestClone" fixed windows failed test: "298 FAIL: server_test.go:37: ServerSuite.TestPush" * fixed windows failed test: "316 FAIL: <autogenerated>:26: UploadPackSuite.TearDownSuite" * fixed windows failed test: "FAIL: <autogenerated>:6: IndexSuite.TearDownSuite" | ||||
* | Merge pull request #527 from strib/win-pack-cmds | Máximo Cuadros | 2017-08-04 | 2 | -2/+75 |
|\ | | | | | plumbing: fix pack commands for the file client on Windows | ||||
| * | plumbing: fix pack commands for the file client on Windows | Jeremy Stribling | 2017-08-03 | 2 | -2/+75 |
| | | | | | | | | | | | | The default git install on Windows doesn't come with commands for receive-pack and upload-pack in the default $PATH. Instead, use --exec-path to find pack executables in that case. | ||||
* | | *: windows support, some more fixes (#533) | Manuel Carmona | 2017-08-03 | 5 | -7/+15 |
| | | | | | | | | | | | | | | | | | | | | * fixed windows failed test: "134 FAIL: repository_test.go:340: RepositorySuite.TestPlainOpenBareRelativeGitDirFileTrailingGarbage" * fixed windows failed test: "143 FAIL: worktree_test.go:367: WorktreeSuite.TestCheckoutIndexOS" * fixed windows failed test: "296 FAIL: receive_pack_test.go:36: ReceivePackSuite.TearDownTest" * fixed windows failed test: "152 FAIL: worktree_test.go:278: WorktreeSuite.TestCheckoutSymlink" | ||||
* | | Merge pull request #526 from joshbetz/fix/filename-form | Máximo Cuadros | 2017-08-02 | 3 | -2/+61 |
|\ \ | | | | | | | Normalize filenames before comparing. | ||||
| * | | worktree: normalized string comparison tests | Máximo Cuadros | 2017-08-02 | 2 | -1/+54 |
| | | | |||||
| * | | Normalize filenames before comparing. | Josh Betz | 2017-07-31 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some multibyte characters can have multiple representations. Before comparing strings, we need to normalize them. In this case we're normalizing to normalized form C, but it shouldn't matter as long as both strings are normalized to the same form. Fixes https://github.com/src-d/go-git/issues/495 | ||||
* | | | Merge pull request #532 from mcuadros/fix-shallo | Máximo Cuadros | 2017-08-02 | 2 | -15/+44 |
|\ \ \ | | | | | | | | | Remote.Clone fix clone of tags in shallow mode | ||||
| * | | | Remote.Clone fix clone of tags in shallow mode | Máximo Cuadros | 2017-08-02 | 2 | -15/+44 |
|/ / / |