Remove old migration script.
[invirt/scripts/git-migration.git] / filter-subdirs
diff --git a/filter-subdirs b/filter-subdirs
deleted file mode 100755 (executable)
index b6a1369..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/usr/bin/python
-
-import sys
-import os
-import subprocess
-
-tree = sys.argv[1]
-package = os.environ['PACKAGE']
-
-p = subprocess.Popen(['git', 'ls-tree',
-                      tree,
-                      package],
-                     stdout=subprocess.PIPE,
-                     stdin=subprocess.PIPE)
-p.wait()
-t = p.stdout.read().strip().split()
-
-if t != [] and t[1] == 'tree':
-    tree = t[2]
-
-os.execvp('git', ['git', 'commit-tree', tree] + sys.argv[2:])