Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use object walker in repacking code | Taru Karttunen | 2017-11-29 | 1 | -12/+9 |
| | |||||
* | Use Storer.Config pack window when repacking objects | Taru Karttunen | 2017-11-29 | 1 | -3/+5 |
| | |||||
* | Make object repacking more configurable | Taru Karttunen | 2017-11-29 | 1 | -7/+19 |
| | |||||
* | Support for repacking objects | Taru Karttunen | 2017-11-29 | 1 | -0/+62 |
| | |||||
* | Address CI and move code around | Taru Karttunen | 2017-11-29 | 1 | -124/+0 |
| | |||||
* | First pass of prune design | Taru Karttunen | 2017-11-29 | 1 | -0/+124 |
| | |||||
* | all: simplification | ferhat elmas | 2017-11-29 | 1 | -1/+1 |
| | | | | | | | | | | - no length for map initialization - don't check for boolean/error return - don't format string - use string method of bytes buffer instead of converting bytes to string - use `strings.Contains` instead of `strings.Index` - use `bytes.Equal` instead of `bytes.Compare` | ||||
* | Use optionally locking when updating refs | Taru Karttunen | 2017-11-27 | 1 | -4/+9 |
| | |||||
* | update to go-billy.v4 and go-git-fixtures.v3 | Máximo Cuadros | 2017-11-23 | 1 | -2/+2 |
| | | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com> | ||||
* | plumbing: the commit walker can skip externally-seen commits | Jeremy Stribling | 2017-09-09 | 1 | -3/+3 |
| | | | | | | | | | | When the revlist is computing the set of hashes needed to transfer, it doesn't need to walk over commits it has already processed. So, it can instruct the commit walker not to walk those commits by passing in its own `seen` map. For a 36K object repo, this brought the time for `revlist.Objects` down from 50s to 30s. | ||||
* | Minor fix to grammatical error in error message for ErrRepositoryNotExists. | Nathan Ollerenshaw | 2017-09-06 | 1 | -1/+1 |
| | |||||
* | Repository.Clone added Tags option, and set by default AllTags as git does | Máximo Cuadros | 2017-09-04 | 1 | -0/+1 |
| | |||||
* | Worktree.Reset ignore untracked files on Merge mode | Máximo Cuadros | 2017-09-01 | 1 | -1/+4 |
| | |||||
* | repository: Resolve commit when cloning annotated tag, fixes #557 | Ori Rawlings | 2017-08-24 | 1 | -12/+41 |
| | |||||
* | *: windows support, some more fixes (#533) | Manuel Carmona | 2017-08-03 | 1 | -1/+1 |
| | | | | | | | | | | * 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" | ||||
* | Remote.Clone fix clone of tags in shallow mode | Máximo Cuadros | 2017-08-02 | 1 | -15/+14 |
| | |||||
* | Merge pull request #531 from mcuadros/ref-name | Máximo Cuadros | 2017-08-02 | 1 | -4/+4 |
|\ | | | | | plumbing: moved `Reference.Is*` methods to `ReferenceName.Is*` | ||||
| * | *: use the new API for ReferenceName.Is* methods | Máximo Cuadros | 2017-08-02 | 1 | -4/+4 |
| | | |||||
* | | Merge pull request #501 from smola/config-multiple-urls | Máximo Cuadros | 2017-08-02 | 1 | -1/+1 |
|\ \ | | | | | | | config: multiple values in RemoteConfig (URLs and Fetch) | ||||
| * | | config: multiple values in RemoteConfig (URLs and Fetch) | Santiago M. Mola | 2017-08-01 | 1 | -1/+1 |
| |/ | | | | | | | | | | | | | | | * Change `URL string` to `URL []string` in `RemoteConfig`, since git allows multiple URLs per remote. See: http://marc.info/?l=git&m=116231242118202&w=2 * Fix marshalling of multiple fetch refspecs. | ||||
* / | reuse Auth method when recursing submodules, fixes #521 | Devon Barrett | 2017-07-29 | 1 | -1/+4 |
|/ | |||||
* | worktree: expose underlying filesystem | Máximo Cuadros | 2017-07-26 | 1 | -1/+1 |
| | |||||
* | *: package context support in Repository, Remote and Submodule | Máximo Cuadros | 2017-07-26 | 1 | -13/+70 |
| | |||||
* | move Repository.Pull to Worktree.Pull | Máximo Cuadros | 2017-07-24 | 1 | -116/+55 |
| | |||||
* | repository: allow push from shallow repositories | Máximo Cuadros | 2017-07-19 | 1 | -3/+3 |
| | |||||
* | git: remove ErrObjectNotFound in favor of plumbing.ErrObjectNotFound | JP Sugarbroad | 2017-07-12 | 1 | -5/+0 |
| | |||||
* | *: upgrade to go-billy.v3, merge | Máximo Cuadros | 2017-06-18 | 1 | -18/+14 |
| | |||||
* | fix naming of NewCommit{Pre,Post}Iterator | Santiago M. Mola | 2017-06-13 | 1 | -3/+3 |
| | | | | | Use Iter suffix, just as all other iterators in the project. Use Preorder and Postorder to be more clear. | ||||
* | storage/filesystem: call initialization explicitely, fixes #408 | Santiago M. Mola | 2017-06-01 | 1 | -0/+13 |
| | | | | | | | | | | | | | 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. | ||||
* | storage: filesystem, initialize the default folder scaffolding | Máximo Cuadros | 2017-05-21 | 1 | -0/+8 |
| | |||||
* | add support for .git as file, fixes #348 | Santiago M. Mola | 2017-04-27 | 1 | -9/+55 |
| | |||||
* | worktree, reset implementation and status improvements | Máximo Cuadros | 2017-04-12 | 1 | -1/+1 |
| | |||||
* | merge, Repository.Log | Máximo Cuadros | 2017-04-11 | 1 | -26/+45 |
|\ | |||||
| * | Add Repository.Log() method (fix #298) | Antonio Jesus Navarro Perez | 2017-04-11 | 1 | -26/+45 |
| | | | | | | | | | | | | | | | | | | | | - 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. | ||||
* | | worktree, status implementation based on merkletrie and reset and checkout ↵ | Máximo Cuadros | 2017-04-11 | 1 | -9/+11 |
|/ | | | | implementations | ||||
* | Merge pull request #296 from ajnavarro/improvement/repository | Santiago M. Mola | 2017-03-21 | 1 | -26/+67 |
|\ | | | | | git: Repository methods changes | ||||
| * | git: Repository methods changes | Antonio Jesus Navarro Perez | 2017-03-06 | 1 | -26/+67 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 1 | -2/+2 |
| | | |||||
* | | project: move imports from srcd.works to gopkg.in | Antonio Jesus Navarro Perez | 2017-03-07 | 1 | -10/+10 |
|/ | | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release. | ||||
* | documentation and API improvements | Máximo Cuadros | 2017-02-21 | 1 | -4/+2 |
| | |||||
* | submodule update implementation | Máximo Cuadros | 2017-02-15 | 1 | -5/+18 |
| | |||||
* | Repository.Init now handles non-standard .git location | Máximo Cuadros | 2017-02-13 | 1 | -2/+68 |
| | |||||
* | submodule init implementation | Máximo Cuadros | 2017-02-12 | 1 | -11/+29 |
| | |||||
* | git: make Storer public in Repository. | Santiago M. Mola | 2017-02-09 | 1 | -42/+43 |
| | |||||
* | Add revision implementation (#139) | Anthony HAMON | 2017-02-06 | 1 | -0/+127 |
| | |||||
* | documentation changes | Máximo Cuadros | 2017-01-31 | 1 | -16/+20 |
| | |||||
* | new srcd.works/go-git.v4 path | Máximo Cuadros | 2017-01-30 | 1 | -5/+5 |
| | |||||
* | rename billy imports | Máximo Cuadros | 2017-01-30 | 1 | -1/+1 |
| | |||||
* | example: using new constructors | Máximo Cuadros | 2017-01-30 | 1 | -12/+8 |
|\ | |||||
| * | Repository.Progress moved as a field in *Options (#237) | Máximo Cuadros | 2017-01-30 | 1 | -12/+8 |
| | |