From 6c8eef81fde37aa5329f3e0711ecd9682bf2b104 Mon Sep 17 00:00:00 2001 From: Jan Krag Date: Mon, 14 Aug 2023 22:44:26 +0300 Subject: [PATCH] Add sleep statments to setup This whould help give commits unique timestamps to fix weird sorting observerd in git log --- restore/setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/restore/setup.sh b/restore/setup.sh index b1ec26c8..2335e9c2 100755 --- a/restore/setup.sh +++ b/restore/setup.sh @@ -9,13 +9,15 @@ echo "the original foo" > foo.txt git add foo.txt git commit -m "Add foo.txt" git tag v1.0.0 +sleep 1 echo "bar" > bar.txt git add bar.txt git commit -m "Add bar.txt" +sleep 1 echo "foo" > foo.txt git add foo.txt git commit -m "Update foo.txt" - +sleep 1 echo "FIXME: DONT COMMIT" > bar.txt git add bar.txt rm foo.txt