aboutsummaryrefslogtreecommitdiffstats
path: root/worktree_commit_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of github.com:src-d/go-git into f-add-tagging-supportMáximo Cuadros2018-09-101-3/+56
|\
| * Expose Storage cache.kuba--2018-09-071-2/+2
| | | | | | | | Signed-off-by: kuba-- <kuba@sourced.tech>
| * worktree: solve merge conflictsv4.7.0Máximo Cuadros2018-09-061-3/+56
| |\
| | * worktree: address PR comments: sort imports appropriatelyMark Bartel2018-07-071-5/+5
| | | | | | | | | | | | Signed-off-by: Mark Bartel <github@spottybenny.ca>
| | * worktree: add test for correct tree sorting (issue #881)Mark Bartel2018-07-031-0/+54
| | | | | | | | | | | | Signed-off-by: Mark Bartel <github@spottybenny.ca>
* | | git: Replace test signing key with one with longer expiryChris Marchesi2018-08-211-53/+53
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old one was created with defaults, which would have caused CI failures in 2 years. The new one is valid for 10 years: > gpg --list-secret-keys /root/.gnupg/pubring.kbx ------------------------ sec rsa4096 2018-08-22 [SC] [expires: 2028-08-19] 93A17FF01E54328546087C8E029395402EFCCD53 uid [ unknown] foo bar <foo@foo.foo> Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
* | git: Add extra test for testing bad key error caseChris Marchesi2018-08-161-55/+85
| | | | | | | | | | | | I'm hoping this helps get codecov to a tolerable delta. :) Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
* | git: Remove old hash validation codeChris Marchesi2018-08-161-5/+0
| | | | | | | | | | | | | | | | | | | | This will not work for a signed commit as with the GPG signature being a part of the commit, the hash is now non-deterministic. Verification of the commit is done through the validation of the signature. Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>
* | 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/+115
|/ | | | | | | | | | 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>
* update to go-billy.v4 and go-git-fixtures.v3Máximo Cuadros2017-11-231-2/+2
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* Worktree.Add: Support Add deleted files, fixes #571 (#577)grunenwflorian2017-09-051-0/+36
|
* worktree: expose underlying filesystemMáximo Cuadros2017-07-261-4/+4
|
* *: upgrade to go-billy.v3, mergeMáximo Cuadros2017-06-181-6/+6
|
* worktree: Commit, tests improvementsMáximo Cuadros2017-05-041-0/+13
|
* worktree: Commit method implementationMáximo Cuadros2017-05-041-0/+126