aboutsummaryrefslogtreecommitdiffstats
path: root/submodule.go
Commit message (Collapse)AuthorAgeFilesLines
* git: fix the issue with submodules having the SCP style URL fail due to the ↵matej.risek2023-06-051-7/+7
| | | | wrong URL parsing
* git: Add Depth to SubmoduleUpdateOptionsmatej.risek2023-05-041-1/+2
|
* Minor doc fixes (#287)Jeff Widman2021-04-161-2/+2
|
* Fetch submodules pointing to orphaned but still reachable commits (#284)Nikolay Edigaryev2021-04-061-0/+18
|
* Fix relative submodule resolutionAxel Christ2020-10-281-1/+23
| | | | | | | | | | | | | | | | | With the current behavior, the config will always hold the resolved, absolute URL, leavin the user of go-git no choice to determine whether the original URL is relative or not. This changes to employ relative URL resolution only when resolving a submodule to a repository to keep the correct configuration 'unresolved' and intact. Change relative resolution using `filepath.Dir` to `path.Join` while parsing both the 'root' and the relative URL with `net/url.URL`. Adapt test to verify the new behavior. Re-fixes #184 (see comments).
* Repository.ConfigScoped and Repository.Commit with empty author supportMáximo Cuadros2020-05-241-1/+1
|
* *: migration from gopkg to go modulesMáximo Cuadros2020-03-101-4/+4
|
* 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.Reset ignore untracked files on Merge modeMáximo Cuadros2017-09-011-4/+7
|
* Merge pull request #501 from smola/config-multiple-urlsMáximo Cuadros2017-08-021-1/+1
|\ | | | | config: multiple values in RemoteConfig (URLs and Fetch)
| * config: multiple values in RemoteConfig (URLs and Fetch)Santiago M. Mola2017-08-011-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.
* | Submodule.Update, add Auth to SubmoduleUpdateOption, fixes #520Máximo Cuadros2017-07-281-1/+1
|/
* worktree: expose underlying filesystemMáximo Cuadros2017-07-261-1/+1
|
* *: package context support in Repository, Remote and SubmoduleMáximo Cuadros2017-07-261-7/+30
|
* *: upgrade to go-billy.v3, mergeMáximo Cuadros2017-06-181-1/+11
|
* worktree: reset and checkout support for submodulesMáximo Cuadros2017-04-151-7/+154
|
* worktree, status implementation based on merkletrie and reset and checkout ↵Máximo Cuadros2017-04-111-3/+3
| | | | implementations
* project: move imports from srcd.works to gopkg.inAntonio Jesus Navarro Perez2017-03-071-2/+2
| | | | To be able to fix #261 we will move again to gopkg.in before v4 stable release.
* documentation and API improvementsMáximo Cuadros2017-02-211-1/+1
|
* submodule update implementationMáximo Cuadros2017-02-151-18/+110
|
* submodule init and update implementationMáximo Cuadros2017-02-141-11/+57
|
* submodule init implementationMáximo Cuadros2017-02-131-1/+7
|
* submodule init implementationMáximo Cuadros2017-02-121-0/+30