aboutsummaryrefslogtreecommitdiffstats
path: root/worktree_commit.go
Commit message (Collapse)AuthorAgeFilesLines
* Add Amend option to CommitOptionsJohn Cai2022-01-031-12/+29
| | | | | | Adds an Amend option to CommitOptions that behaves like git --amend. This change includes modifications to the Validate function to disallow a Commit call with both Amend and either Parents or All enabled.
* *: replace golang.org/x/crypto/openpgp by ↵Johan Fleury2021-04-061-1/+1
| | | | github.com/ProtonMail/go-crypto/openpgp (#283)
* git: worktree_commit, just store objects not already stored (#224)jsteuer2021-02-091-0/+4
| | | * git: worktree_commit, just store objects not already stored
* speed up commit with all: true optionAnton Kaymakchi2020-07-211-2/+8
|
* fix goreportcard warningsOleg Kovalov2020-07-011-1/+1
|
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-101-6/+6
|
* worktree: solve merge conflictsv4.7.0Máximo Cuadros2018-09-061-0/+14
|\
| * worktree: address PR comments: sort imports appropriatelyMark Bartel2018-07-071-1/+1
| | | | | | | | Signed-off-by: Mark Bartel <github@spottybenny.ca>
| * worktree: sort the tree object. Fixes #881Mark Bartel2018-07-031-0/+14
| | | | | | | | Signed-off-by: Mark Bartel <github@spottybenny.ca>
* | git: Remove use of strings.BuilderChris Marchesi2018-08-161-1/+2
| | | | | | | | | | | | | | This was added in Go 1.10 and is not supported on Go 1.9. Switched to bytes.Buffer to ensure compatibility. Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
* | git: Add ability to PGP sign commitsChris Marchesi2018-08-161-0/+25
|/ | | | | | | | | | 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>
* new methods Worktree.[AddGlob|AddDirectory]Máximo Cuadros2018-02-011-1/+0
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* update to go-billy.v4 and go-git-fixtures.v3Máximo Cuadros2017-11-231-1/+1
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* worktree: expose underlying filesystemMáximo Cuadros2017-07-261-1/+1
|
* worktree: commit, use path package instead of filepathMáximo Cuadros2017-07-191-13/+13
|
* worktree: Add create and push the blob objects to the storerMáximo Cuadros2017-06-191-96/+12
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* worktree: support for symlinksMáximo Cuadros2017-06-191-1/+31
|
* *: upgrade to go-billy.v3, mergeMáximo Cuadros2017-06-181-1/+1
|
* worktree: Commit, tests improvementsMáximo Cuadros2017-05-041-2/+2
|
* worktree: Commit method implementationMáximo Cuadros2017-05-041-0/+243