Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'production/miscToolsAndNotes/reposcripts/chrepos.sh')
-rwxr-xr-xproduction/miscToolsAndNotes/reposcripts/chrepos.sh30
1 files changed, 30 insertions, 0 deletions
diff --git a/production/miscToolsAndNotes/reposcripts/chrepos.sh b/production/miscToolsAndNotes/reposcripts/chrepos.sh
new file mode 100755
index 000000000..75ecd0b49
--- /dev/null
+++ b/production/miscToolsAndNotes/reposcripts/chrepos.sh
@@ -0,0 +1,30 @@
+
+function checkrepo ()
+{
+ cd $1
+ echo $1
+
+ NUNREACHABLE=`git fsck --unreachable | wc -l`
+ echo "Unreachable: " $NUNREACHABLE
+ #find objects/?? -type f | wc -l
+ #find objects/pack -ls | wc -l
+ git count-objects -v
+}
+PROJECTROOT=/gitroot/platform
+
+checkrepo ${PROJECTROOT}/eclipse.platform.common.git
+checkrepo ${PROJECTROOT}/eclipse.platform.debug.git
+checkrepo ${PROJECTROOT}/eclipse.platform.git
+checkrepo ${PROJECTROOT}/eclipse.platform.news.git
+checkrepo ${PROJECTROOT}/eclipse.platform.releng.eclipsebuilder.git
+checkrepo ${PROJECTROOT}/eclipse.platform.releng.git
+checkrepo ${PROJECTROOT}/eclipse.platform.releng.maps.git
+checkrepo ${PROJECTROOT}/eclipse.platform.resources.git
+checkrepo ${PROJECTROOT}/eclipse.platform.runtime.git
+checkrepo ${PROJECTROOT}/eclipse.platform.swt.binaries.git
+checkrepo ${PROJECTROOT}/eclipse.platform.swt.git
+checkrepo ${PROJECTROOT}/eclipse.platform.team.git
+checkrepo ${PROJECTROOT}/eclipse.platform.text.git
+checkrepo ${PROJECTROOT}/eclipse.platform.ua.git
+checkrepo ${PROJECTROOT}/eclipse.platform.ui.git
+

Back to the top