{"thread":{"id":"9795","subject":"[PATCH] Cleanup unnecessary file modifications in t1400-update-ref","startedAt":"2007-09-06T02:15:21Z","lastAt":"2007-09-06T02:15:21Z","messageCount":1,"participants":["Shawn O. Pearce"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"52669","messageId":"20070906021521.GA31651@spearce.org","threadId":"9795","inReplyTo":null,"subject":"[PATCH] Cleanup unnecessary file modifications in t1400-update-ref","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2007-09-06T02:15:21Z","receivedAt":"2007-09-06T02:15:21Z","isPatch":true,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Kristian Høgsberg pointed out that the two file modifications\nwe were doing during the 'creating initial files' step are not even\nused within the test suite.  This was actually confusing as we do\nnot even need these changes for the tests to pass.  All that really\nmatters here is the specific commit dates are used so that these\nappear in the branch's reflog, and that the dates are different so\nthat the branch will update when asked and the reflog entry is\nalso updated.  There is no need for the file modification.\n\nSigned-off-by: Shawn O. Pearce <spearce@spearce.org>\n---\n t/t1400-update-ref.sh |    2 --\n 1 files changed, 0 insertions(+), 2 deletions(-)\n\ndiff --git a/t/t1400-update-ref.sh b/t/t1400-update-ref.sh\nindex c4c0dfa..ce045b2 100755\n--- a/t/t1400-update-ref.sh\n+++ b/t/t1400-update-ref.sh\n@@ -198,11 +198,9 @@ test_expect_success \\\n \t GIT_AUTHOR_DATE=\"2005-05-26 23:41\" \\\n \t GIT_COMMITTER_DATE=\"2005-05-26 23:41\" git-commit -F M -a &&\n \t h_OTHER=$(git rev-parse --verify HEAD) &&\n-\t echo FIXED >F &&\n \t GIT_AUTHOR_DATE=\"2005-05-26 23:44\" \\\n \t GIT_COMMITTER_DATE=\"2005-05-26 23:44\" git-commit --amend &&\n \t h_FIXED=$(git rev-parse --verify HEAD) &&\n-\t echo TEST+FIXED >F &&\n \t echo Merged initial commit and a later commit. >M &&\n \t echo $h_TEST >.git/MERGE_HEAD &&\n \t GIT_AUTHOR_DATE=\"2005-05-26 23:45\" \\\n-- \n1.5.3.1.840.g0fedbc\n"}]}