-
-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
503 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,6 +133,25 @@ touch icons/man.1 --date=@0 | |
touch icons/marked.md --date=@0 | ||
# END test_icons | ||
|
||
# BEGIN submodule | ||
cd git/*01 || exit | ||
git add "*01" | ||
# git doesn't allow us to create a submodule without a branch | ||
GIT_COMMITTER_NAME="Your Name" GIT_COMMITTER_EMAIL="[email protected]" git commit --author="Your Name <[email protected]>" -m "Initial commit" | ||
cd .. || exit | ||
|
||
mkdir -p with_submodule | ||
cd with_submodule || exit | ||
git init | ||
seq 01 10 | split -l 1 -a 3 -d - file_ | ||
git -c protocol.file.allow=always submodule add ../*01 | ||
touch --date=@0 ./*; | ||
touch --date=@0 ./*01/*; | ||
cd .. || exit | ||
ln -s with_submodule with_submodule_symlink | ||
cd .. || exit | ||
# END submodule | ||
|
||
# BEGIN set date | ||
touch --date=@0 ./*; | ||
# END set date |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
drwxr-xr-x - nixbld 1 Jan 1970 001 | ||
.rw-r--r-- 2 nixbld 1 Jan 1970 file_000 | ||
.rw-r--r-- 2 nixbld 1 Jan 1970 file_001 | ||
.rw-r--r-- 2 nixbld 1 Jan 1970 file_002 | ||
.rw-r--r-- 2 nixbld 1 Jan 1970 file_003 | ||
.rw-r--r-- 2 nixbld 1 Jan 1970 file_004 | ||
.rw-r--r-- 2 nixbld 1 Jan 1970 file_005 | ||
.rw-r--r-- 2 nixbld 1 Jan 1970 file_006 | ||
.rw-r--r-- 2 nixbld 1 Jan 1970 file_007 | ||
.rw-r--r-- 2 nixbld 1 Jan 1970 file_008 | ||
.rw-r--r-- 3 nixbld 1 Jan 1970 file_009 | ||
|
||
tests/test_dir/git/with_submodule/001: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bin.name = "eza" | ||
args = "tests/test_dir/git/with_submodule -R --long --ignore-submodule-contents" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
001 | ||
file_000 | ||
file_001 | ||
file_002 | ||
file_003 | ||
file_004 | ||
file_005 | ||
file_006 | ||
file_007 | ||
file_008 | ||
file_009 | ||
|
||
tests/test_dir/git/with_submodule/001: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bin.name = "eza" | ||
args = "tests/test_dir/git/with_submodule -R --ignore-submodule-contents" |
Empty file.
13 changes: 13 additions & 0 deletions
13
tests/gen/ignore_submodule_contents_recursive_symlink.stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
001 | ||
file_000 | ||
file_001 | ||
file_002 | ||
file_003 | ||
file_004 | ||
file_005 | ||
file_006 | ||
file_007 | ||
file_008 | ||
file_009 | ||
|
||
tests/test_dir/git/with_submodule_symlink/001: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bin.name = "eza" | ||
args = "tests/test_dir/git/with_submodule_symlink -R --ignore-submodule-contents" |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
tests/test_dir/git/with_submodule | ||
├── 001 | ||
├── file_000 | ||
├── file_001 | ||
├── file_002 | ||
├── file_003 | ||
├── file_004 | ||
├── file_005 | ||
├── file_006 | ||
├── file_007 | ||
├── file_008 | ||
└── file_009 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bin.name = "eza" | ||
args = "tests/test_dir/git/with_submodule --tree --ignore-submodule-contents" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.