Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | transport/internal: remove Wait function, use Close directly | Santiago M. Mola | 2017-06-13 | 4 | -32/+19 | |
| | | ||||||
* | | fix ReceivePackSuite.TestSendPackAddDeleteReference | Santiago M. Mola | 2017-06-13 | 1 | -2/+4 | |
| | | ||||||
* | | plumbing/transport: detect "access denied error" | Santiago M. Mola | 2017-06-13 | 1 | -5/+10 | |
| | | | | | | | | | | | | | | "ERR access denied or repository not exported:" is now detected as transport.ErrRepositoryNotFound, since that's what git-daemon returns when --informative-errors is not used. | |||||
* | | transport/git: add git-receive-pack tests | Santiago M. Mola | 2017-06-13 | 1 | -0/+140 | |
| | | ||||||
* | | plumbing/transport: detect git protocol "no such repository" error | Santiago M. Mola | 2017-06-13 | 1 | -0/+5 | |
| | | ||||||
* | | transport/git: ensure port is added to host parameter | Santiago M. Mola | 2017-06-13 | 1 | -1/+6 | |
| | | ||||||
* | | ensure receive-pack session is closed on push. | Santiago M. Mola | 2017-06-13 | 1 | -1/+5 | |
|/ | | | | | | * at low level, ReceivePack must close its stream to the server to signal it has finished. * remote.go: Close() must be called on session. | |||||
* | Merge pull request #409 from smola/dirty-plainopen | Santiago M. Mola | 2017-06-05 | 1 | -0/+8 | |
|\ | | | | | storage/filesystem: call initialization explicitly, fixes #408 | |||||
| * | storage/filesystem: call initialization explicitely, fixes #408 | Santiago M. Mola | 2017-06-01 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | filesystem.Storage was initializing the gitdir (creating objects and refs) on NewStorage. But this should be done only on init and clone operations, not on open. Now there is a new interface storer.Initializer that storers can implement if they need any initialization step before init or clone. filesystem.Storage is one of such implementations. git.Init and git.Clone now call to the storer Init() method if it does implement it. Otherwise, it just ignores initialization. | |||||
* | | Merge pull request #411 from src-d/fix/delta-copy-operations | Santiago M. Mola | 2017-06-02 | 2 | -1/+35 | |
|\ \ | |/ |/| | packfile: A copy operation cannot be bigger than 64kb | |||||
| * | packfile: A copy operation cannot be bigger than 64kb | Antonio Jesus Navarro Perez | 2017-06-01 | 2 | -1/+35 | |
| | | | | | | | | More info here: https://github.com/git/git/blob/f7466e94375b3be27f229c78873f0acf8301c0a5/diff-delta.c#L428 | |||||
* | | Use xanzy/ssh-agent to create the ssh agent correctly based on os. | Ethan Young | 2017-06-01 | 2 | -14/+15 | |
|/ | ||||||
* | format/packfile: improve binary delta algorithm | Antonio Jesus Navarro Perez | 2017-05-24 | 2 | -441/+94 | |
| | | | | Implemented algorithm described in "File System Support for Delta Compression" paper, from "Joshua P. MacDonald". | |||||
* | format/diff: unified diff encoder and public API | Antonio Jesus Navarro Perez | 2017-05-23 | 10 | -0/+1558 | |
| | | | | | | | | | - Added Patch interface - Added a Unified Diff encoder from Patches - Added Change method to generate Patches - Added Changes method to generate Patches - Added Tree method to generate Patches - Added Commit method to generate Patches | |||||
* | worktree: Remove and Move methods | Máximo Cuadros | 2017-05-21 | 2 | -0/+29 | |
| | ||||||
* | transport/server: use Endpoint string representation as a map key. | Antonio Jesus Navarro Perez | 2017-05-16 | 3 | -4/+20 | |
| | | | | Two endpoints are not equals between them, even if they were generated using the same url or path. | |||||
* | format/packfile: fix bug when the delta depth is equals to 50 | Antonio Jesus Navarro Perez | 2017-05-08 | 2 | -0/+10 | |
| | ||||||
* | worktree: Commit, tests improvements | Máximo Cuadros | 2017-05-04 | 1 | -2/+2 | |
| | ||||||
* | Merge branch 'master' of github.com:src-d/go-git into commit | Máximo Cuadros | 2017-05-04 | 15 | -83/+288 | |
|\ | ||||||
| * | Merge pull request #368 from smola/windows-path | Máximo Cuadros | 2017-05-04 | 7 | -25/+91 | |
| |\ | | | | | | | do not convert local paths to URL | |||||
| | * | do not convert local paths to URL | Santiago M. Mola | 2017-04-28 | 7 | -25/+91 | |
| | | | | | | | | | | | | | | | | | | | | | * Do not convert local paths to URLs, just keep them as they are. * This way we add support for Windows without taking care of Windows path-to-URL conversion. | |||||
| * | | Merge pull request #364 from mcuadros/index-pointer | Máximo Cuadros | 2017-05-04 | 5 | -11/+11 | |
| |\ \ | | |/ | |/| | plumbing: index, Entries converted in a slice of pointers | |||||
| * | | transport: make Endpoint an interface, fixes #362 | Santiago M. Mola | 2017-04-27 | 10 | -60/+199 | |
| | | | | | | | | | | | | | | | * add internal *url.URL implementation for regular URLs. * add internal implementation for SCP-like URLs. | |||||
* | | | plumbing: MemoryObject.Writer tracks his own size | Máximo Cuadros | 2017-05-04 | 5 | -30/+37 | |
| | | | ||||||
* | | | plumbing: object.Tree making public `tree` and `parents` | Máximo Cuadros | 2017-05-01 | 2 | -17/+19 | |
| |/ |/| | ||||||
* | | plumbing: index, Entries converted in a slice of pointers | Máximo Cuadros | 2017-04-26 | 5 | -11/+11 | |
|/ | ||||||
* | Merge pull request #360 from smola/go-vet | Máximo Cuadros | 2017-04-26 | 6 | -15/+15 | |
|\ | | | | | fix go vet issues, add go vet to CI | |||||
| * | object: avoid unreachable code | Santiago M. Mola | 2017-04-26 | 1 | -4/+1 | |
| | | ||||||
| * | format/packfile: rename Seek to SeekFromStart | Santiago M. Mola | 2017-04-26 | 3 | -6/+8 | |
| | | | | | | | | | | | | This has signature and behavior distinct from io.Seeker, go vet complains about this, so we change it to a different name to avoid confusion. | |||||
| * | fix format string issues as found by go vet | Santiago M. Mola | 2017-04-26 | 2 | -5/+6 | |
| | | ||||||
* | | plumbing: transport, ssh fix public key builder | Máximo Cuadros | 2017-04-26 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #356 from mcuadros/ssh-default-auth | Máximo Cuadros | 2017-04-26 | 2 | -5/+22 | |
|\ \ | |/ |/| | transport: ssh, new DefaultAuthBuilder variable | |||||
| * | transport: ssh, travis tests | Máximo Cuadros | 2017-04-21 | 1 | -4/+15 | |
| | | ||||||
| * | transport: ssh, new DefaultAuthBuilder variable | Máximo Cuadros | 2017-04-21 | 1 | -1/+7 | |
| | | ||||||
* | | transport: ssh, NewPublicKeys support for encrypted PEM files | Máximo Cuadros | 2017-04-21 | 2 | -9/+35 | |
|/ | ||||||
* | transport: ssh, NewPublicKeys helper | Máximo Cuadros | 2017-04-21 | 2 | -23/+68 | |
| | ||||||
* | Merge pull request #346 from mcuadros/ssh-known-hosts | Máximo Cuadros | 2017-04-17 | 3 | -2/+93 | |
|\ | | | | | transport: ssh, default HostKeyCallback | |||||
| * | transport: ssh, fork knownhosts package (temporal) | Máximo Cuadros | 2017-04-17 | 1 | -1/+1 | |
| | | ||||||
| * | transport: ssh, default HostKeyCallback | Máximo Cuadros | 2017-04-16 | 3 | -2/+93 | |
| | | ||||||
* | | format: index, Index.Entry method | Máximo Cuadros | 2017-04-13 | 2 | -5/+39 | |
|/ | ||||||
* | worktree, reset implementation and status improvements | Máximo Cuadros | 2017-04-12 | 2 | -13/+16 | |
| | ||||||
* | merkletrie: filesystem and index speedup and documentation | Máximo Cuadros | 2017-04-11 | 1 | -18/+11 | |
| | ||||||
* | merge, Repository.Log | Máximo Cuadros | 2017-04-11 | 10 | -135/+164 | |
|\ | ||||||
| * | Add Repository.Log() method (fix #298) | Antonio Jesus Navarro Perez | 2017-04-11 | 5 | -127/+150 | |
| | | | | | | | | | | | | | | | | | | | | - CommitIter is now an interface - The old CommitIter implementation is now called StorerCommitIter - CommitWalker and CommitWalkerPost are now iterators (CommitPreIterator and CommitPostIterator). - Remove Commit.History() method. There are so many ways to iterate a commit history, depending of the use case. Now, instead of use the History() method, you must use CommitPreIterator or CommitPostIterator. - Move commitSorterer to references.go because is the only place that it is used, and it must not be used into another place. - Make References method private, it must only be used into blame logic. - Added a TODO into references method, where the sortCommits is used to remove it in a near future. | |||||
| * | plumbing: transport, handle 403 in http transport | Chris Dostert | 2017-04-10 | 5 | -8/+14 | |
| | | ||||||
* | | plumbing: object, public Tree.FindEntry and minor diff changes | Máximo Cuadros | 2017-04-11 | 4 | -8/+17 | |
| | | ||||||
* | | plumbing: format, index stringer | Máximo Cuadros | 2017-04-11 | 1 | -0/+23 | |
|/ | ||||||
* | Set correct modes to change_adaptor tests | Antonio Jesus Navarro Perez | 2017-04-06 | 1 | -0/+6 | |
| | ||||||
* | object: fix Change.Files() method behavior (fix #317) | Antonio Jesus Navarro Perez | 2017-04-06 | 2 | -0/+56 | |
| | | | | | - If 'from' or 'to' are tree entries that aren't files, Files() method will return nil instead of object not found error. - Added a test checking this using modules fixture. | |||||
* | Work around a Go bug when parsing timezones | Nick Thomas | 2017-03-30 | 1 | -1/+6 | |
| |