git-gc.shon commit Merge branch 'maint' (240897e)
   1#!/bin/sh
   2#
   3# Copyright (c) 2006, Shawn O. Pearce
   4#
   5# Cleanup unreachable files and optimize the repository.
   6
   7USAGE=''
   8SUBDIRECTORY_OK=Yes
   9. git-sh-setup
  10
  11git-pack-refs --prune &&
  12git-reflog expire --all &&
  13git-repack -a -d -l &&
  14git-prune &&
  15git-rerere gc || exit