Skip to content

Commit da486e8

Browse files
authored
Merge pull request #86 from codecrafters-io/CC-1779
Add GitHub Actions workflow for fixture regeneration and update dependencies
2 parents 573da04 + 4b4bc4a commit da486e8

18 files changed

+233
-206
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Setup and regenerate fixtures
2+
3+
permissions:
4+
contents: write
5+
pull-requests: write
6+
7+
on:
8+
pull_request:
9+
types:
10+
- labeled
11+
12+
jobs:
13+
setup-and-regenerate-fixtures:
14+
if: github.event.label.name == 'regenerate-fixtures'
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
# No setup step needed, yet.
19+
- name: Regenerate Fixtures
20+
uses: codecrafters-io/tester-utils/.github/actions/fixtures@master
21+
with:
22+
tester_repo: git-tester
23+
github_token: ${{ secrets.GITHUB_TOKEN }}
24+
fixture_generation_token: ${{ secrets.TESTER_FIXTURE_GENERATION_GITHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ jobs:
88
steps:
99
- name: Checkout
1010
uses: actions/checkout@v4
11+
1112
- name: Set up Go
1213
uses: actions/setup-go@v5
1314
with:
1415
go-version: 1.24.x
16+
1517
- name: Set up Python
1618
uses: actions/setup-python@v5
1719
with:
18-
python-version: '3.12'
20+
python-version: '3.13'
21+
1922
- run: make test

go.mod

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
module github.com/codecrafters-io/git-tester
22

3-
go 1.23
3+
go 1.24
4+
5+
toolchain go1.24.2
46

57
require (
6-
github.com/codecrafters-io/tester-utils v0.2.38
8+
github.com/codecrafters-io/tester-utils v0.4.3
79
github.com/go-git/go-billy/v5 v5.0.0
810
github.com/go-git/go-git/v5 v5.0.0
911
)
@@ -14,21 +16,21 @@ require (
1416
require (
1517
github.com/davecgh/go-spew v1.1.1 // indirect
1618
github.com/emirpasic/gods v1.12.0 // indirect
17-
github.com/fatih/color v1.17.0 // indirect
19+
github.com/fatih/color v1.18.0 // indirect
1820
github.com/go-git/gcfg v1.5.0 // indirect
1921
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
2022
github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd // indirect
21-
github.com/mattn/go-colorable v0.1.13 // indirect
23+
github.com/mattn/go-colorable v0.1.14 // indirect
2224
github.com/mattn/go-isatty v0.0.20 // indirect
2325
github.com/mitchellh/go-homedir v1.1.0 // indirect
2426
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
2527
github.com/pmezard/go-difflib v1.0.0 // indirect
2628
github.com/sergi/go-diff v1.1.0 // indirect
27-
github.com/stretchr/testify v1.8.4 // indirect
29+
github.com/stretchr/testify v1.10.0 // indirect
2830
github.com/xanzy/ssh-agent v0.2.1 // indirect
2931
golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073 // indirect
3032
golang.org/x/net v0.0.0-20200301022130-244492dfa37a // indirect
31-
golang.org/x/sys v0.25.0 // indirect
33+
golang.org/x/sys v0.32.0 // indirect
3234
gopkg.in/warnings.v0 v0.1.2 // indirect
3335
gopkg.in/yaml.v2 v2.4.0 // indirect
3436
gopkg.in/yaml.v3 v3.0.1 // indirect

go.sum

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo
44
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c=
55
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=
66
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
7-
github.com/codecrafters-io/tester-utils v0.2.38 h1:rKxm02A4Ll6gGrwcsGKDHxZExjH4hMbtu2ra7r/E7Lk=
8-
github.com/codecrafters-io/tester-utils v0.2.38/go.mod h1:VgP0WmmRsA8L1urWGMXPW4Zv5jcwHwR0LdKZ8ZAEFT4=
7+
github.com/codecrafters-io/tester-utils v0.4.3 h1:ZUA0BCvLK4LJ+yRYrA6nc1s5LymElYkv2JP7rpufhcc=
8+
github.com/codecrafters-io/tester-utils v0.4.3/go.mod h1:Fyrv4IebzjWtvKfpYf8ooYDoOtjYe2qx8bV7KAJpX+w=
99
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
1010
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
1111
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
1212
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
1313
github.com/emirpasic/gods v1.12.0 h1:QAUIPSaCu4G+POclxeqb3F+WPpdKqFGlw36+yOzGlrg=
1414
github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o=
15-
github.com/fatih/color v1.17.0 h1:GlRw1BRJxkpqUCBKzKOw098ed57fEsKeNjpTe3cSjK4=
16-
github.com/fatih/color v1.17.0/go.mod h1:YZ7TlrGPkiz6ku9fK3TLD/pl3CpsiFyu8N92HLgmosI=
15+
github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM=
16+
github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU=
1717
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc=
1818
github.com/gliderlabs/ssh v0.2.2 h1:6zsha5zo/TWhRhwqCD3+EarCAgZ2yN28ipRnGPnwkI0=
1919
github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0=
@@ -37,9 +37,8 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
3737
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
3838
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
3939
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
40-
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
41-
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
42-
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
40+
github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE=
41+
github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8=
4342
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
4443
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
4544
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
@@ -56,8 +55,8 @@ github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
5655
github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
5756
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
5857
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
59-
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
60-
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
58+
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
59+
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
6160
github.com/xanzy/ssh-agent v0.2.1 h1:TCbipTQL2JiiCprBWx9frJ2eJlCYT00NmctrHxVAr70=
6261
github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4=
6362
golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
@@ -71,10 +70,9 @@ golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5h
7170
golang.org/x/sys v0.0.0-20190221075227-b4e8571b14e0/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
7271
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
7372
golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
74-
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
7573
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
76-
golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34=
77-
golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
74+
golang.org/x/sys v0.32.0 h1:s77OFDvIQeibCmezSnk/q6iAfkdiQaJi4VzroCFrN20=
75+
golang.org/x/sys v0.32.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
7876
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
7977
golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
8078
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=

internal/stage_init.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,15 @@ func doLogDebugTree(logger *logger.Logger, dir string, prefix string) {
105105
}
106106

107107
if len(entries) == 0 {
108-
logger.Infof(prefix + " (directory is empty)")
108+
logger.Infof("%s", prefix+" (directory is empty)")
109109
}
110110

111111
for _, info := range entries {
112112
if info.IsDir() {
113-
logger.Infof(prefix + "- " + info.Name() + "/")
113+
logger.Infof("%s", prefix+"- "+info.Name()+"/")
114114
doLogDebugTree(logger, path.Join(dir, info.Name()), prefix+" ")
115115
} else {
116-
logger.Infof(prefix + "- " + info.Name())
116+
logger.Infof("%s", prefix+"- "+info.Name())
117117
}
118118
}
119119
}
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
Debug = true
22

3-
[stage-3] Running tests for Stage #3: jt4
4-
[stage-3] $ ./your_git.sh init
3+
[tester::#JT4] Running tests for Stage #JT4 (jt4)
4+
[tester::#JT4] $ ./your_git.sh init
55
[your_program] Initialized git directory
6-
[stage-3] $ echo "orange pear grape pineapple blueberry banana" > pear.txt
7-
[stage-3] $ ./your_git.sh hash-object -w pear.txt
6+
[tester::#JT4] $ echo "orange pear grape pineapple blueberry banana" > pear.txt
7+
[tester::#JT4] $ ./your_git.sh hash-object -w pear.txt
88
[your_program] 7a50e289f5bde85780a843d5750ec3ae372af50a
9-
[stage-3] Output is a 40-char SHA.
10-
[stage-3] Blob file contents are valid.
11-
[stage-3] Returned SHA matches expected SHA.
12-
[stage-3] Test passed.
9+
[tester::#JT4] Output is a 40-char SHA.
10+
[tester::#JT4] Blob file contents are valid.
11+
[tester::#JT4] Returned SHA matches expected SHA.
12+
[tester::#JT4] Test passed.
1313

14-
[stage-2] Running tests for Stage #2: ic4
15-
[stage-2] $ ./your_git.sh init
14+
[tester::#IC4] Running tests for Stage #IC4 (ic4)
15+
[tester::#IC4] $ ./your_git.sh init
1616
[your_program] Initialized git directory
17-
[stage-2] Added blob object to .git/objects: d3eaf53b1d60ac21803c5091eb4add1c6502664d
18-
[stage-2] $ ./your_git.sh cat-file -p d3eaf53b1d60ac21803c5091eb4add1c6502664d
17+
[tester::#IC4] Added blob object to .git/objects: d3eaf53b1d60ac21803c5091eb4add1c6502664d
18+
[tester::#IC4] $ ./your_git.sh cat-file -p d3eaf53b1d60ac21803c5091eb4add1c6502664d
1919
[your_program] strawberry apple blueberry mango pineapple raspberry
20-
[stage-2] Output is valid.
21-
[stage-2] Test passed.
20+
[tester::#IC4] Output is valid.
21+
[tester::#IC4] Test passed.
2222

23-
[stage-1] Running tests for Stage #1: gg4
24-
[stage-1] $ ./your_git.sh init
23+
[tester::#GG4] Running tests for Stage #GG4 (gg4)
24+
[tester::#GG4] $ ./your_git.sh init
2525
[your_program] Initialized git directory
26-
[stage-1] .git directory found.
27-
[stage-1] .git/objects directory found.
28-
[stage-1] .git/refs directory found.
29-
[stage-1] .git/HEAD file is valid.
30-
[stage-1] Test passed.
26+
[tester::#GG4] .git directory found.
27+
[tester::#GG4] .git/objects directory found.
28+
[tester::#GG4] .git/refs directory found.
29+
[tester::#GG4] .git/HEAD file is valid.
30+
[tester::#GG4] Test passed.
Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
Debug = true
22

3-
[stage-3] Running tests for Stage #3: jt4
4-
[stage-3] $ ./your_git.sh init
3+
[tester::#JT4] Running tests for Stage #JT4 (jt4)
4+
[tester::#JT4] $ ./your_git.sh init
55
[your_program] Initialized git directory
6-
[stage-3] $ echo "orange pear grape pineapple blueberry banana" > pear.txt
7-
[stage-3] $ ./your_git.sh hash-object -w pear.txt
6+
[tester::#JT4] $ echo "orange pear grape pineapple blueberry banana" > pear.txt
7+
[tester::#JT4] $ ./your_git.sh hash-object -w pear.txt
88
[your_program] 1b6cfb9d1e21ccdec2d4f2b27dfd413561199394
9-
[stage-3] Output is a 40-char SHA.
10-
[stage-3] Git object file doesn't match official Git implementation. Diff after zlib decompression:
11-
[stage-3] 
12-
[stage-3] Expected (bytes 0-52), hexadecimal: | ASCII:
13-
[stage-3] 62 6c 6f 62 20 34 34 00 6f 72 61 6e 67 65 20 70 65 61 72 20 | blob 44.orange pear
14-
[stage-3] 67 72 61 70 65 20 70 69 6e 65 61 70 70 6c 65 20 62 6c 75 65 | grape pineapple blue
15-
[stage-3] 62 65 72 72 79 20 62 61 6e 61 6e 61 | berry banana
16-
[stage-3] 
17-
[stage-3] Actual (bytes 0-52), hexadecimal: | ASCII:
18-
[stage-3] 62 6c 6f 62 34 34 00 6f 72 61 6e 67 65 20 70 65 61 72 20 67 | blob44.orange pear g
19-
[stage-3] 72 61 70 65 20 70 69 6e 65 61 70 70 6c 65 20 62 6c 75 65 62 | rape pineapple blueb
20-
[stage-3] 65 72 72 79 20 62 61 6e 61 6e 61 | erry banana
21-
[stage-3] 
22-
[stage-3] File at ".git/objects/1b/6cfb9d1e21ccdec2d4f2b27dfd413561199394" does not match official Git implementation
23-
[stage-3] Test failed
9+
[tester::#JT4] Output is a 40-char SHA.
10+
[tester::#JT4] Git object file doesn't match official Git implementation. Diff after zlib decompression:
11+
[tester::#JT4] 
12+
[tester::#JT4] Expected (bytes 0-52), hexadecimal: | ASCII:
13+
[tester::#JT4] 62 6c 6f 62 20 34 34 00 6f 72 61 6e 67 65 20 70 65 61 72 20 | blob 44.orange pear
14+
[tester::#JT4] 67 72 61 70 65 20 70 69 6e 65 61 70 70 6c 65 20 62 6c 75 65 | grape pineapple blue
15+
[tester::#JT4] 62 65 72 72 79 20 62 61 6e 61 6e 61 | berry banana
16+
[tester::#JT4] 
17+
[tester::#JT4] Actual (bytes 0-52), hexadecimal: | ASCII:
18+
[tester::#JT4] 62 6c 6f 62 34 34 00 6f 72 61 6e 67 65 20 70 65 61 72 20 67 | blob44.orange pear g
19+
[tester::#JT4] 72 61 70 65 20 70 69 6e 65 61 70 70 6c 65 20 62 6c 75 65 62 | rape pineapple blueb
20+
[tester::#JT4] 65 72 72 79 20 62 61 6e 61 6e 61 | erry banana
21+
[tester::#JT4] 
22+
[tester::#JT4] File at ".git/objects/1b/6cfb9d1e21ccdec2d4f2b27dfd413561199394" does not match official Git implementation
23+
[tester::#JT4] Test failed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Debug = true
22

3-
[stage-3] Running tests for Stage #3: jt4
4-
[stage-3] $ ./your_git.sh init
3+
[tester::#JT4] Running tests for Stage #JT4 (jt4)
4+
[tester::#JT4] $ ./your_git.sh init
55
[your_program] Initialized git directory
6-
[stage-3] $ echo "orange pear grape pineapple blueberry banana" > pear.txt
7-
[stage-3] $ ./your_git.sh hash-object -w pear.txt
6+
[tester::#JT4] $ echo "orange pear grape pineapple blueberry banana" > pear.txt
7+
[tester::#JT4] $ ./your_git.sh hash-object -w pear.txt
88
[your_program] afa8b20484a29b438370b623ced459c9409fcc05
9-
[stage-3] Output is a 40-char SHA.
10-
[stage-3] Did not find file at ".git/objects/af/a8b20484a29b438370b623ced459c9409fcc05"
11-
[stage-3] Test failed
9+
[tester::#JT4] Output is a 40-char SHA.
10+
[tester::#JT4] Did not find file at ".git/objects/af/a8b20484a29b438370b623ced459c9409fcc05"
11+
[tester::#JT4] Test failed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Debug = true
22

3-
[stage-3] Running tests for Stage #3: jt4
4-
[stage-3] $ ./your_git.sh init
3+
[tester::#JT4] Running tests for Stage #JT4 (jt4)
4+
[tester::#JT4] $ ./your_git.sh init
55
[your_program] Initialized git directory
6-
[stage-3] $ echo "orange pear grape pineapple blueberry banana" > pear.txt
7-
[stage-3] $ ./your_git.sh hash-object -w pear.txt
6+
[tester::#JT4] $ echo "orange pear grape pineapple blueberry banana" > pear.txt
7+
[tester::#JT4] $ ./your_git.sh hash-object -w pear.txt
88
[your_program] 7a50e289f5bde85780a843d5750ec3ae372af50a
9-
[stage-3] Output is a 40-char SHA.
10-
[stage-3] The file at ".git/objects/7a/50e289f5bde85780a843d5750ec3ae372af50a" is not Zlib-compressed
11-
[stage-3] Test failed
9+
[tester::#JT4] Output is a 40-char SHA.
10+
[tester::#JT4] The file at ".git/objects/7a/50e289f5bde85780a843d5750ec3ae372af50a" is not Zlib-compressed
11+
[tester::#JT4] Test failed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Debug = true
22

3-
[stage-1] Running tests for Stage #1: gg4
4-
[stage-1] $ ./your_git.sh init
3+
[tester::#GG4] Running tests for Stage #GG4 (gg4)
4+
[tester::#GG4] $ ./your_git.sh init
55
[your_program] Initialized git directory
6-
[stage-1] .git directory found.
7-
[stage-1] .git/objects directory found.
8-
[stage-1] .git/refs directory found.
9-
[stage-1] .git/HEAD file is valid.
10-
[stage-1] Test passed.
6+
[tester::#GG4] .git directory found.
7+
[tester::#GG4] .git/objects directory found.
8+
[tester::#GG4] .git/refs directory found.
9+
[tester::#GG4] .git/HEAD file is valid.
10+
[tester::#GG4] Test passed.

0 commit comments

Comments
 (0)