chiark / gitweb /
test suite: exmaplegit: Do not leave the tree dirty
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 6 Jan 2019 13:26:10 +0000 (13:26 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 6 Jan 2019 13:27:01 +0000 (13:27 +0000)
This test setup facility passed a dirty working tree to all of its
consumers.  That was not really intended or useful, and is about to
start causing trouble.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/setup/examplegit

index 48864d49ac73a7afdbc58e24b557379243813587..88f6178ce75f76a11798637e0f2f4756858e1707 100755 (executable)
@@ -48,4 +48,6 @@ git add which
 t-commit Sid
 push-to master sid
 
+git clean -xdff
+
 t-setup-done 'p v suitespecs majorv revision' "aq git mirror $p"