aboutsummaryrefslogtreecommitdiffstats
path: root/worktree_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Remove empty dirs when cleaning with Dir opt.kuba--2018-08-291-0/+9
| | | | Signed-off-by: kuba-- <kuba@sourced.tech>
* Worktree: Provide ability to add excludes (#825)Alan D. Cabrera2018-05-111-0/+30
| | | Worktree: Provide ability to add excludes
* git: worktree, Skip special git directory. Fixes #814kuba--2018-04-181-0/+38
| | | | Signed-off-by: kuba-- <kuba@sourced.tech>
* *: skip time consuming testsMáximo Cuadros2018-03-211-0/+9
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* new methods Worktree.[AddGlob|RemoveBlob] and recursive Worktree.[Add|Remove]Máximo Cuadros2018-02-261-14/+125
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* new methods Worktree.[AddGlob|AddDirectory]Máximo Cuadros2018-02-011-0/+160
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* Merge pull request #695 from darkowlzz/grep-multiple-patterns-pathspecMáximo Cuadros2017-12-201-8/+59
|\ | | | | git: Worktree.Grep() support multiple patterns and pathspecs
| * git: Worktree.Grep() support multiple patterns and pathspecsSunny2017-12-201-8/+59
| | | | | | | | Signed-off-by: Sunny <me@darkowlzz.space>
* | *: simplicationferhat elmas2017-12-181-2/+2
|/ | | | | | - no unnecessary err/bool check, uses them directly Signed-off-by: ferhat elmas <elmas.ferhat@gmail.com>
* git: worktree, add Grep() method for git grep (#686)Sunny2017-12-121-0/+185
| | | 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.
* storage: filesystem, add support for git alternates (#663)Sunny2017-12-061-0/+30
| | | | This change adds a new method Alternates() in DotGit to check and query alternate source.
* test: git, Worktree.Clean()Sunny2017-12-041-0/+35
|
* all: fixes for ineffective assignferhat elmas2017-11-261-0/+12
|
* update to go-billy.v4 and go-git-fixtures.v3Máximo Cuadros2017-11-231-6/+5
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* Fix spelling Unstagged -> UnstagedBenjamin Nørgaard2017-10-081-1/+1
|
* Worktree.Add: Support Add deleted files, fixes #571 (#577)grunenwflorian2017-09-051-0/+4
|
* Worktree.Reset ignore untracked files on Merge modeMáximo Cuadros2017-09-011-35/+114
|
* *: windows support, some more fixes (2) (#536)Manuel Carmona2017-08-071-0/+4
| | | | | | | | | | | | | | * fixed windows failed test: "143 FAIL: worktree_test.go:314: WorktreeSuite.TestFilenameNormalization" * fixed windows failed test: "489: FAIL: auth_method_test.go:106: SuiteCommon.TestNewSSHAgentAuthNoAgent" * fixed windows failed test: "279 FAIL: server_test.go:50: ServerSuite.TestClone" fixed windows failed test: "298 FAIL: server_test.go:37: ServerSuite.TestPush" * fixed windows failed test: "316 FAIL: <autogenerated>:26: UploadPackSuite.TearDownSuite" * fixed windows failed test: "FAIL: <autogenerated>:6: IndexSuite.TearDownSuite"
* *: windows support, some more fixes (#533)Manuel Carmona2017-08-031-4/+11
| | | | | | | | | | * 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"
* Merge pull request #526 from joshbetz/fix/filename-formMáximo Cuadros2017-08-021-0/+43
|\ | | | | Normalize filenames before comparing.
| * worktree: normalized string comparison testsMáximo Cuadros2017-08-021-0/+43
| |
* | config: multiple values in RemoteConfig (URLs and Fetch)Santiago M. Mola2017-08-011-4/+4
|/ | | | | | | | * 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.
* Merge pull request #513 from mcuadros/worktree-fsMáximo Cuadros2017-07-271-60/+60
|\ | | | | worktree: expose underlying filesystem
| * worktree: expose underlying filesystemMáximo Cuadros2017-07-261-60/+60
| |
* | remote: pull refactor to match default behaviourMáximo Cuadros2017-07-261-0/+60
|/
* *: package context support in Repository, Remote and SubmoduleMáximo Cuadros2017-07-261-1/+2
|
* move Repository.Pull to Worktree.PullMáximo Cuadros2017-07-241-0/+159
|
* worktree: checkout, create branchMáximo Cuadros2017-07-181-18/+67
|
* remote: fix Worktree.Status on empty repositoryMáximo Cuadros2017-07-131-0/+19
|
* worktree: test improvemnts on empty worktreeMáximo Cuadros2017-07-131-32/+10
|
* Adds test that checkout possible with untracked files under gitignoreOleg Sklyar2017-06-211-4/+30
|
* worktree: Add create and push the blob objects to the storerMáximo Cuadros2017-06-191-0/+11
| | | | Signed-off-by: Máximo Cuadros <mcuadros@gmail.com>
* Merge pull request #436 from mcuadros/symlinkMáximo Cuadros2017-06-191-0/+51
|\ | | | | worktree: symlink support
| * worktree: support for symlinksMáximo Cuadros2017-06-191-0/+51
| |
* | Merge pull request #429 from silvertern/gitignoreMáximo Cuadros2017-06-191-0/+50
|\ \ | |/ |/| Adds .gitignore support
| * Adds gitignore supportOleg Sklyar2017-06-191-0/+50
| |
* | *: upgrade to go-billy.v3, mergeMáximo Cuadros2017-06-181-7/+7
|/
* worktree: Remove and Move methodsMáximo Cuadros2017-05-211-0/+110
|
* worktree: Status return untracked for untracked filesMáximo Cuadros2017-05-041-0/+1
|
* worktree: Status return empty status instead of nilMáximo Cuadros2017-05-031-0/+17
|
* worktree: add methodMáximo Cuadros2017-04-261-0/+94
|
* worktree: reset and checkout support for submodulesMáximo Cuadros2017-04-151-1/+44
|
* worktree, reset implementation and status improvementsMáximo Cuadros2017-04-121-14/+99
|
* worktree, status implementation based on merkletrie and reset and checkout ↵Máximo Cuadros2017-04-111-24/+182
| | | | implementations
* use go-billy.v2 versionAntonio Jesus Navarro Perez2017-03-101-2/+2
|
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-071-4/+4
| | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.
* replace os.FileMode use with filemode.FileModeAlberto Cortés2017-03-011-3/+3
|
* submodule init and update implementationMáximo Cuadros2017-02-141-2/+30
|
* submodule init implementationMáximo Cuadros2017-02-131-1/+1
|
* git: make Storer public in Repository.Santiago M. Mola2017-02-091-5/+5
|