This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -x | |
# create the setup: first commit has x/y and second commit only x | |
git init | |
mkdir x | |
echo foo > x/y | |
git add x/y | |
git commit -m "add x/y" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.File; | |
import java.io.IOException; | |
public class TestFileSystem { | |
private static final int NR_OF_FILES = 1000; | |
public static void main(String[] args) throws IOException { | |
File tmpDir = new File(System.getProperty("java.io.tmpdir"), "tmp" | |
+ System.currentTimeMillis()); | |
tmpDir.mkdirs(); |
NewerOlder