Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | git: do not expose storage options in PlainOpen | Javi Fontan | 2018-08-31 | 1 | -4/+0 |
| | | | | Signed-off-by: Javi Fontan <jfontan@gmail.com> | ||||
* | git, storer: use a common storer.Options for storer and PlainOpen | Javi Fontan | 2018-08-30 | 1 | -2/+4 |
| | | | | Signed-off-by: Javi Fontan <jfontan@gmail.com> | ||||
* | git: add Static option to PlainOpen | Javi Fontan | 2018-08-30 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | Also adds Static configuration to Storage and DotGit. This option means that the git repository is not expected to be modified while open and enables some optimizations. Each time a file is accessed the storer tries to open an object file for the requested hash. When this is done for a lot of objects it is expensive. With Static option a list of object files is generated the first time an object is accessed and used to check if exists instead of using system calls. A similar optimization is done for packfiles. Signed-off-by: Javi Fontan <jfontan@gmail.com> | ||||
* | git: Add ability to PGP sign commits | Chris Marchesi | 2018-08-16 | 1 | -0/+4 |
| | | | | | | | | | | This adds the ability to sign commits by adding the SignKey field to CommitOptions. If present, the commit will be signed during the WorkTree.Commit call. The supplied SignKey must already be decrypted by the caller. Signed-off-by: Chris Marchesi <chrism@vancluevertech.com> | ||||
* | add PlainOpen variant to find .git in parent dirs | Daniel Martí | 2018-04-03 | 1 | -0/+11 |
| | | | | | | | | | This is the git tool's behavior that people are used to; if one runs a git command in a repository's subdirectory, git still works. Fixes #765. Signed-off-by: Daniel Martí <mvdan@mvdan.cc> | ||||
* | add LogOrder, LogOptions.Order, implement Order=LogOrderCommitterTime and ↵ | Saeed Rasooli | 2018-03-05 | 1 | -0/+15 |
| | | | | | | Order=LogOrderBSF Signed-off-by: Saeed Rasooli <saeed.gnu@gmail.com> | ||||
* | Support for clone without checkout | Michael Rykov | 2018-01-17 | 1 | -0/+2 |
| | |||||
* | git: Worktree.Grep() support multiple patterns and pathspecs | Sunny | 2017-12-20 | 1 | -4/+4 |
| | | | | Signed-off-by: Sunny <me@darkowlzz.space> | ||||
* | git: worktree, add Grep() method for git grep (#686) | Sunny | 2017-12-12 | 1 | -0/+38 |
| | | | This change implemented grep on worktree with options to invert match and specify pathspec. Also, a commit hash or reference can be used to specify the worktree to search. | ||||
* | git: worktree, add Clean() method for git clean | Sunny | 2017-12-04 | 1 | -0/+5 |
| | | | | | | | This change implement git clean with a `Dir` option. By default, clean removes only the untracked files in the working directory. If `Dir` option is set to true, untracked files under other directories are also cleaned. | ||||
* | Support non-force fetches | Nick Thomas | 2017-11-27 | 1 | -0/+6 |
| | |||||
* | Create ListOptions and rename LSRemote to List. | Sunny | 2017-10-04 | 1 | -0/+6 |
| | |||||
* | Repository.Clone added Tags option, and set by default AllTags as git does | Máximo Cuadros | 2017-09-04 | 1 | -6/+18 |
| | |||||
* | Merge pull request #573 from orirawlings/pushSideband | Máximo Cuadros | 2017-09-01 | 1 | -0/+3 |
|\ | | | | | Add sideband support for push | ||||
| * | Add sideband support for push | Ori Rawlings | 2017-09-01 | 1 | -0/+3 |
| | | |||||
* | | Worktree.Reset ignore untracked files on Merge mode | Máximo Cuadros | 2017-09-01 | 1 | -4/+8 |
|/ | |||||
* | Submodule.Update, add Auth to SubmoduleUpdateOption, fixes #520 | Máximo Cuadros | 2017-07-28 | 1 | -0/+2 |
| | |||||
* | Implement a NoTags mode for fetch that mimics git fetch --no-tags | Nick Thomas | 2017-07-22 | 1 | -0/+2 |
| | |||||
* | worktree: checkout, create branch | Máximo Cuadros | 2017-07-18 | 1 | -1/+16 |
| | |||||
* | remote: fetch, correct behaviour on tags | Máximo Cuadros | 2017-07-17 | 1 | -0/+15 |
| | |||||
* | worktree: Commit, tests improvements | Máximo Cuadros | 2017-05-04 | 1 | -7/+6 |
| | |||||
* | worktree: Commit method implementation | Máximo Cuadros | 2017-05-04 | 1 | -1/+46 |
| | |||||
* | worktree, reset implementation and status improvements | Máximo Cuadros | 2017-04-12 | 1 | -7/+21 |
| | |||||
* | merge, Repository.Log | Máximo Cuadros | 2017-04-11 | 1 | -0/+8 |
|\ | |||||
| * | Add Repository.Log() method (fix #298) | Antonio Jesus Navarro Perez | 2017-04-11 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | - 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 | -0/+52 |
|/ | | | | implementations | ||||
* | project: move imports from srcd.works to gopkg.in | Antonio Jesus Navarro Perez | 2017-03-07 | 1 | -4/+4 |
| | | | | 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 | -30/+30 |
| | |||||
* | submodule update implementation | Máximo Cuadros | 2017-02-15 | 1 | -2/+27 |
| | |||||
* | submodule init implementation | Máximo Cuadros | 2017-02-12 | 1 | -0/+4 |
| | |||||
* | config: RefSpec.Validate returning errors and doc (Fixes #232) | Máximo Cuadros | 2017-01-31 | 1 | -6/+5 |
| | |||||
* | new srcd.works/go-git.v4 path | Máximo Cuadros | 2017-01-30 | 1 | -4/+4 |
| | |||||
* | Repository.Progress moved as a field in *Options (#237) | Máximo Cuadros | 2017-01-30 | 1 | -0/+13 |
| | |||||
* | Fix typos in git docs (#230) | Sergio Arbeo | 2017-01-30 | 1 | -8/+8 |
| | |||||
* | transport: remove SetAuth, fixes #206 (#210) | Anthony Weems | 2017-01-17 | 1 | -1/+7 |
| | | | | | * remove SetAuth functions, implement at NewUploadPackSession/NewReceivePackSession level. * propagate transport.Auth from Fetch/Pull/Clone options to the transport API. | ||||
* | remote: add Push (#178) | Santiago M. Mola | 2016-12-19 | 1 | -0/+30 |
| | | | | | | | | | | | | * remote: add Push. * add Push method to Remote. * add method Push to Repository. * examples: add push example. * requested changes * add tests, fixes | ||||
* | remote: make Fetch atomic. (#185) | Santiago M. Mola | 2016-12-16 | 1 | -7/+13 |
| | | | | | | | * Remote now exposes only Fetch. No Connect, Disconnect, etc. * Repository uses a private fetch method in Remote for Clone/Pull. * getting capabilities, HEAD or other information from remote requires using the lower level client. * add Fetch method to Repository. | ||||
* | transport: create Client interface (#132) | Santiago M. Mola | 2016-11-23 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | * plumbing: move plumbing/client package to plumbing/transport. * transport: create Client interface. * A Client can instantiate any client transport service. * InstallProtocol installs a Client for a given protocol, instead of just a UploadPackService. * A Client can open a session for fetch-pack or send-pack for a specific Endpoint. * Adapt ssh and http clients to the new client interface. * updated doc | ||||
* | new plumbing package (#118) | Máximo Cuadros | 2016-11-08 | 1 | -6/+6 |
| | | | * plumbing: now core was renamed to core, and formats and clients moved inside | ||||
* | remote, fix fetch tags | Máximo Cuadros | 2016-10-27 | 1 | -1/+3 |
| | |||||
* | clients/ssh: test fix | Máximo Cuadros | 2016-08-24 | 1 | -1/+1 |
| | |||||
* | options renamed and some text fixes | Máximo Cuadros | 2016-08-22 | 1 | -9/+9 |
| | |||||
* | Remote.Fetch multiple RefSpec support | Máximo Cuadros | 2016-08-22 | 1 | -24/+7 |
| | |||||
* | Remote.Fetch base on RefSpec, improvement of the responsabilities separation | Máximo Cuadros | 2016-08-19 | 1 | -11/+27 |
| | |||||
* | Repository.Pull, PoC | Máximo Cuadros | 2016-08-15 | 1 | -1/+51 |
| | |||||
* | Repository.Clone and Remote.Fetch remote, local branches and client: correct ↵ | Máximo Cuadros | 2016-08-15 | 1 | -14/+25 |
| | | | | header read | ||||
* | Repository.Clone and Remote.Fetch tests and improvements | Máximo Cuadros | 2016-08-13 | 1 | -0/+14 |
| | |||||
* | Repository and Remote API changes | Máximo Cuadros | 2016-08-13 | 1 | -0/+20 |