Hello Johannes, > Try swapping the two inner-most if-blocks. I did and it works as expected: (faui04a) [/var/tmp] git clone ~sithglan/work/repositories/public/easix.git test-8 Initialized empty Git repository in /var/tmp/test-8/.git/ remote: Generating pack... remote: Done counting 317 objects. remote: Deltifying 317 objects... remote: 100% (317/317remote: ) done Indexing 317 objects... remote: Total 317 (delta 182), reused 278 (delta 157) 100% (317/317) done Resolving 182 deltas... 100% (182/182) done (faui04a) [/var/tmp] cd test-8 ./test-8 (faui04a) [/var/tmp/test-8] git status # On branch master nothing to commit (working directory clean) (faui04a) [/var/tmp/test-8] cd .. (faui04a) [/var/tmp] rm -rf test-8 ... I have a filesystem to check. :-) Thomas - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html