File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
crates/cargo-test-support/containers Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,9 @@ RUN git config --global user.email "testuser@example.com" &&\
10
10
git init -b master . &&\
11
11
git add Cargo.toml src &&\
12
12
git commit -m "Initial commit" &&\
13
- mv .git ../bar.git &&\
14
- cd ../bar.git &&\
15
- git config --bool core.bare true &&\
16
- rm -rf ../bar
13
+ cd .. &&\
14
+ git clone --bare bar bar.git &&\
15
+ rm -rf bar
17
16
WORKDIR /
18
17
19
18
EXPOSE 443
Original file line number Diff line number Diff line change @@ -17,10 +17,9 @@ RUN git config --global user.email "testuser@example.com" &&\
17
17
git init -b master . &&\
18
18
git add Cargo.toml src &&\
19
19
git commit -m "Initial commit" &&\
20
- mv .git ../bar.git &&\
21
- cd ../bar.git &&\
22
- git config --bool core.bare true &&\
23
- rm -rf ../bar
20
+ cd .. &&\
21
+ git clone --bare bar bar.git &&\
22
+ rm -rf bar
24
23
WORKDIR /
25
24
USER root
26
25
You can’t perform that action at this time.
0 commit comments