]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Meta/Dothem: make sure that --scratch build is really from scratch
authorJunio C Hamano <gitster@pobox.com>
Thu, 26 May 2016 21:29:05 +0000 (14:29 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 May 2016 21:29:05 +0000 (14:29 -0700)
Dothem

diff --git a/Dothem b/Dothem
index f102c2569d0db008746ff8b312b7d91d6d39d2af..8dca9ce947db46cb674d4f5c59646e121360810c 100755 (executable)
--- a/Dothem
+++ b/Dothem
@@ -174,7 +174,10 @@ do
                '')
                        ;;
                y)
+                       saveMeta=$(readlink Meta)
                        Meta/Make distclean
+                       git clean -f -x
+                       ln -s "$saveMeta" Meta
                        ;;
                esac &&