aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* plumbing/transport: detect "access denied error"Santiago M. Mola2017-06-131-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 testsSantiago M. Mola2017-06-131-0/+140
|
* plumbing/transport: detect git protocol "no such repository" errorSantiago M. Mola2017-06-131-0/+5
|
* transport/git: ensure port is added to host parameterSantiago M. Mola2017-06-131-1/+6
|
* ensure receive-pack session is closed on push.Santiago M. Mola2017-06-132-1/+7
| | | | | | * 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-plainopenSantiago M. Mola2017-06-055-15/+37
|\ | | | | storage/filesystem: call initialization explicitly, fixes #408
| * storage/filesystem: call initialization explicitely, fixes #408Santiago M. Mola2017-06-015-15/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-operationsSantiago M. Mola2017-06-022-1/+35
|\ \ | |/ |/| packfile: A copy operation cannot be bigger than 64kb
| * packfile: A copy operation cannot be bigger than 64kbAntonio Jesus Navarro Perez2017-06-012-1/+35
| | | | | | | | More info here: https://github.com/git/git/blob/f7466e94375b3be27f229c78873f0acf8301c0a5/diff-delta.c#L428
* | Merge pull request #405 from ekyoung/support-ssh-agent-on-windowsSantiago M. Mola2017-06-012-14/+15
|\ \ | |/ |/| Support SSH Agent Auth on Windows
| * Use xanzy/ssh-agent to create the ssh agent correctly based on os.Ethan Young2017-06-012-14/+15
|/
* Merge pull request #400 from ajnavarro/improvement/diff-deltav4.0.0-rc10Santiago M. Mola2017-05-242-441/+94
|\ | | | | format/packfile: improve binary delta algorithm
| * format/packfile: improve binary delta algorithmAntonio Jesus Navarro Perez2017-05-242-441/+94
|/ | | | Implemented algorithm described in "File System Support for Delta Compression" paper, from "Joshua P. MacDonald".
* Merge pull request #388 from ajnavarro/feature/commit-diffMáximo Cuadros2017-05-2313-1/+1614
|\ | | | | format/diff: unified diff encoder and public API
| * Add diff to compatibility fileAntonio Jesus Navarro Perez2017-05-231-1/+1
| |
| * format/diff: unified diff encoder and public APIAntonio Jesus Navarro Perez2017-05-2312-0/+1613
|/ | | | | | | | | - 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
* Merge pull request #398 from mcuadros/init-fixMáximo Cuadros2017-05-225-0/+74
|\ | | | | storage: filesystem, initialize the default folder scaffolding
| * storage: filesystem, initialize the default folder scaffoldingMáximo Cuadros2017-05-215-0/+74
|/
* Merge pull request #395 from mcuadros/rm-mvMáximo Cuadros2017-05-215-2/+206
|\ | | | | worktree: Remove and Move methods
| * worktree: Remove and Move methodsMáximo Cuadros2017-05-215-2/+206
|/
* Merge pull request #394 from ajnavarro/fix/endpoints-equalityMáximo Cuadros2017-05-163-4/+20
|\ | | | | transport/server: use Endpoint string representation as a map key.
| * transport/server: use Endpoint string representation as a map key.Antonio Jesus Navarro Perez2017-05-163-4/+20
|/ | | | Two endpoints are not equals between them, even if they were generated using the same url or path.
* Merge pull request #384 from smola/support-docsMáximo Cuadros2017-05-122-0/+117
|\ | | | | README: add table with supported git features
| * capabilities, md stylingMáximo Cuadros2017-05-121-106/+106
| |
| * README: add table with supported git featuresSantiago M. Mola2017-05-092-0/+117
|/
* Merge pull request #381 from mcuadros/example-commitMáximo Cuadros2017-05-082-0/+68
|\ | | | | examples: commit example
| * examples: commit exampleMáximo Cuadros2017-05-052-0/+68
| |
* | Merge pull request #374 from ajnavarro/fix/delta-encoder-big-deltasMáximo Cuadros2017-05-082-0/+10
|\ \ | |/ |/| format/packfile: fix bug when the delta depth is equals to 50
| * format/packfile: fix bug when the delta depth is equals to 50Antonio Jesus Navarro Perez2017-05-082-0/+10
|/
* Merge pull request #375 from mcuadros/commitMáximo Cuadros2017-05-0513-54/+559
|\ | | | | worktree: Commit method implementation
| * worktree: Commit, tests improvementsMáximo Cuadros2017-05-045-11/+58
| |
| * Merge branch 'master' of github.com:src-d/go-git into commitMáximo Cuadros2017-05-0425-163/+663
| |\ | |/ |/|
* | examples: fix storage README exampleMáximo Cuadros2017-05-041-1/+1
| |
* | examples: fix compilation error from #368Máximo Cuadros2017-05-041-1/+0
| |
* | Merge pull request #368 from smola/windows-pathMáximo Cuadros2017-05-0413-52/+114
|\ \ | | | | | | do not convert local paths to URL
| * | do not convert local paths to URLSantiago M. Mola2017-04-2813-52/+114
| | | | | | | | | | | | | | | | | | | | | * 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.
* | | worktree: Add, logic improvementsMáximo Cuadros2017-05-041-21/+15
| | |
* | | Merge pull request #364 from mcuadros/index-pointerMáximo Cuadros2017-05-049-37/+38
|\ \ \ | |/ / |/| | plumbing: index, Entries converted in a slice of pointers
* | | Merge pull request #367 from smola/push-tagsMáximo Cuadros2017-04-272-1/+45
|\ \ \ | | | | | | | | add test for tags push, closes #354
| * | | add test for tags push, closes #354Santiago M. Mola2017-04-272-1/+45
| | | |
* | | | Merge pull request #365 from smola/git-rel-pathSantiago M. Mola2017-04-2711-62/+201
|\ \ \ \ | |/ / / |/| | | transport: make Endpoint an interface, fixes #362
| * | | transport: make Endpoint an interface, fixes #362Santiago M. Mola2017-04-2711-62/+201
| | | | | | | | | | | | | | | | | | | | * add internal *url.URL implementation for regular URLs. * add internal implementation for SCP-like URLs.
* | | | Merge pull request #363 from smola/dotgit-fileMáximo Cuadros2017-04-272-9/+142
|\ \ \ \ | | | | | | | | | | add support for .git as file, fixes #348
| * | | | add support for .git as file, fixes #348Santiago M. Mola2017-04-272-9/+142
| |/ / /
* | | | Merge pull request #366 from smola/push-forceMáximo Cuadros2017-04-272-22/+151
|\ \ \ \ | |/ / / |/| | | support force push (refspec with +)
| * | | support force push (refspec with +)Santiago M. Mola2017-04-272-22/+151
|/ / / | | | | | | | | | | | | * add support for force push * add support for push of new references
| | * worktree: Commit method implementationMáximo Cuadros2017-05-045-8/+437
| | |
| | * plumbing: MemoryObject.Writer tracks his own sizeMáximo Cuadros2017-05-045-30/+37
| | |
| | * worktree: Status return untracked for untracked filesMáximo Cuadros2017-05-042-6/+5
| | |
| | * worktree: Status return empty status instead of nilMáximo Cuadros2017-05-032-2/+23
| | |