File tree Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Original file line number Diff line number Diff line change @@ -119,14 +119,10 @@ test_expect_success \
119
119
' echo ignore me >a/ignored &&
120
120
echo ignored export-ignore >.git/info/attributes'
121
121
122
- test_expect_success \
123
- ' add files to repository' \
124
- ' find a -type f | xargs git update-index --add &&
125
- find a -type l | xargs git update-index --add &&
126
- treeid=$(git write-tree) &&
127
- echo $treeid >treeid &&
128
- git update-ref HEAD $(TZ=GMT GIT_COMMITTER_DATE="2005-05-27 22:00:00" \
129
- git commit-tree $treeid </dev/null)'
122
+ test_expect_success ' add files to repository' '
123
+ git add a &&
124
+ GIT_COMMITTER_DATE="2005-05-27 22:00" git commit -m initial
125
+ '
130
126
131
127
test_expect_success ' setup export-subst' '
132
128
echo "substfile?" export-subst >>.git/info/attributes &&
Original file line number Diff line number Diff line change @@ -61,14 +61,10 @@ test_expect_success \
61
61
' echo ignore me >a/ignored &&
62
62
echo ignored export-ignore >.git/info/attributes'
63
63
64
- test_expect_success \
65
- ' add files to repository' \
66
- ' find a -type f | xargs git update-index --add &&
67
- find a -type l | xargs git update-index --add &&
68
- treeid=`git write-tree` &&
69
- echo $treeid >treeid &&
70
- git update-ref HEAD $(TZ=GMT GIT_COMMITTER_DATE="2005-05-27 22:00:00" \
71
- git commit-tree $treeid </dev/null)'
64
+ test_expect_success ' add files to repository' '
65
+ git add a &&
66
+ GIT_COMMITTER_DATE="2005-05-27 22:00" git commit -m initial
67
+ '
72
68
73
69
test_expect_success ' setup export-subst' '
74
70
echo "substfile?" export-subst >>.git/info/attributes &&
You can’t perform that action at this time.
0 commit comments