Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | 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 |
| | |||||
* | Merge pull request #314 from lupine/249-fix-bufio-buffer-full | Máximo Cuadros | 2017-03-28 | 4 | -2/+36 |
|\ | | | | | plumbing: Use ReadBytes() rather than ReadSlice() | ||||
| * | plumbing: Use ReadBytes() rather than ReadSlice() | Nick Thomas | 2017-03-27 | 4 | -2/+36 |
| | | |||||
* | | plumbing: Reference, support slash separated branch (#302) | Yusuke Hatanaka | 2017-03-28 | 2 | -2/+26 |
| | | |||||
* | | Merge pull request #305 from mvdan/history-reverse | Santiago M. Mola | 2017-03-27 | 2 | -7/+59 |
|\ \ | |/ |/| | plumbing/object: add WalkCommitHistoryPost func | ||||
| * | plumbing/object: add WalkCommitHistoryPost func | Daniel Martí | 2017-03-27 | 2 | -7/+59 |
| | | | | | | | | | | | | | | | | Also add a test. Make both the pre-order and post-order tests not sort commits, to actually test the order in which the commit history is walked. Fixes #223. | ||||
* | | plumbing: ReferenceType as Stringer | Máximo Cuadros | 2017-03-22 | 2 | -0/+17 |
| | | |||||
* | | Merge pull request #296 from ajnavarro/improvement/repository | Santiago M. Mola | 2017-03-21 | 2 | -1/+161 |
|\ \ | |/ |/| | git: Repository methods changes | ||||
| * | Make referenceFilteredIter private | Antonio Jesus Navarro Perez | 2017-03-06 | 1 | -5/+5 |
| | | |||||
| * | git: Repository methods changes | Antonio Jesus Navarro Perez | 2017-03-06 | 2 | -1/+161 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To have a more consistent public API, we decided to rename some methods, and add others: - Commit method renamed to CommitObject - Commits method renamed to CommitObjects - Tree method renamed to TreeObject - Trees method renamed to TreeObjects - Tags method renamed to TagObjects - Tag method renamed to TagObject - Added method Tags that returns tag references - Added method Branches that returns branch references - Added method Notes that returns note references - Added BlobObject method - Added BlobObjects method Also, we added more functionality related to references: - Added iterator to iterate References with a specific filter Some notes: - #298 | ||||
* | | use go-billy.v2 version | Antonio Jesus Navarro Perez | 2017-03-10 | 2 | -3/+3 |
| | |