Cleanup unnecessary file modifications in t1400-update-ref
Kristian Høgsberg pointed out that the two file modifications we were doing during the 'creating initial files' step are not even used within the test suite. This was actually confusing as we do not even need these changes for the tests to pass. All that really matters here is the specific commit dates are used so that these appear in the branch's reflog, and that the dates are different so that the branch will update when asked and the reflog entry is also updated. There is no need for the file modification. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Shawn O. Pearce committed
Sep 5, 2007 at 22:15 UTC
432e93a16441a1a11aeb8158a634f76c214abb31
1 file changed
-2
t/t1400-update-ref.sh
-2
@@ -198,11 +198,9 @@ test_expect_success \
198
GIT_AUTHOR_DATE="2005-05-26 23:41" \
199
GIT_COMMITTER_DATE="2005-05-26 23:41" git-commit -F M -a &&
200
h_OTHER=$(git rev-parse --verify HEAD) &&
201
- echo FIXED >F &&
201
GIT_AUTHOR_DATE="2005-05-26 23:44" \
202
GIT_COMMITTER_DATE="2005-05-26 23:44" git-commit --amend &&
203
h_FIXED=$(git rev-parse --verify HEAD) &&
205
- echo TEST+FIXED >F &&
204
echo Merged initial commit and a later commit. >M &&
205
echo $h_TEST >.git/MERGE_HEAD &&
206
GIT_AUTHOR_DATE="2005-05-26 23:45" \