1#!/bin/sh2#3# Copyright (c) 2006, Shawn O. Pearce4#5# Cleanup unreachable files and optimize the repository.67USAGE=''8SUBDIRECTORY_OK=Yes9. git-sh-setup1011git-pack-refs --prune &&12git-reflog expire --all &&13git-repack -a -d -l &&14git-prune &&15git-rerere gc || exit