Index: trunk/scripts/git-migration/git-migrate
===================================================================
--- trunk/scripts/git-migration/git-migrate	(revision 1875)
+++ trunk/scripts/git-migration/git-migrate	(revision 1876)
@@ -25,4 +25,14 @@
         subprocess.check_call(['git', 'config', 'core.bare', 'true'],
                               cwd='%s.git' % pkg)
+        
+    # Some of these repos have a rev where everything was deleted
+    # as a result of the move. We don't want that rev to exist.
+    p = subprocess.Popen(['git', 'ls-files'],
+                         cwd='%s.git' % pkg,
+                         stdout=subprocess.PIPE)
+    p.wait()
+    if len(p.stdout.read()) == 0:
+        subprocess.check_call(['git', 'reset', 'HEAD^'],
+                              cwd='%s.git' % pkg)
 
 def cloneAllPackages(base):
