support for git submodules
This commit is contained in:
parent
06b8fa2b7c
commit
06a9d651db
14 changed files with 226 additions and 16 deletions
|
@ -0,0 +1,8 @@
|
|||
[settings]
|
||||
debug = false
|
||||
api_key = 1090a6ae-855f-4be7-b8fb-3edbaf1aa3ec
|
||||
[git]
|
||||
submodules_disabled =
|
||||
this/path/does/not/exist
|
||||
git/asubmodule
|
||||
that/other/path
|
5
tests/samples/configs/git-submodules-disabled.cfg
Normal file
5
tests/samples/configs/git-submodules-disabled.cfg
Normal file
|
@ -0,0 +1,5 @@
|
|||
[settings]
|
||||
debug = false
|
||||
api_key = 1090a6ae-855f-4be7-b8fb-3edbaf1aa3ec
|
||||
[git]
|
||||
submodules_disabled = true
|
|
@ -0,0 +1,7 @@
|
|||
[settings]
|
||||
debug = false
|
||||
api_key = 1090a6ae-855f-4be7-b8fb-3edbaf1aa3ec
|
||||
[git]
|
||||
submodules_disabled =
|
||||
this/path/does/not/exist
|
||||
that/other/path
|
5
tests/samples/configs/git-submodules-enabled.cfg
Normal file
5
tests/samples/configs/git-submodules-enabled.cfg
Normal file
|
@ -0,0 +1,5 @@
|
|||
[settings]
|
||||
debug = false
|
||||
api_key = 1090a6ae-855f-4be7-b8fb-3edbaf1aa3ec
|
||||
[git]
|
||||
submodules_disabled = false
|
|
@ -0,0 +1 @@
|
|||
gitdir: ../.git/modules/asubmodule
|
1
tests/samples/projects/git-with-submodule/dot_git/HEAD
Normal file
1
tests/samples/projects/git-with-submodule/dot_git/HEAD
Normal file
|
@ -0,0 +1 @@
|
|||
ref: refs/heads/master
|
7
tests/samples/projects/git-with-submodule/dot_git/config
Normal file
7
tests/samples/projects/git-with-submodule/dot_git/config
Normal file
|
@ -0,0 +1,7 @@
|
|||
[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = true
|
||||
bare = false
|
||||
logallrefupdates = true
|
||||
ignorecase = true
|
||||
precomposeunicode = true
|
|
@ -0,0 +1 @@
|
|||
ref: refs/heads/asubbranch
|
|
@ -0,0 +1,7 @@
|
|||
[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = true
|
||||
bare = false
|
||||
logallrefupdates = true
|
||||
ignorecase = true
|
||||
precomposeunicode = true
|
0
tests/samples/projects/git-with-submodule/emptyfile.txt
Normal file
0
tests/samples/projects/git-with-submodule/emptyfile.txt
Normal file
Loading…
Add table
Add a link
Reference in a new issue