git-gc.shon commit Move better_branch_name above get_ref in merge-recursive. (7ba3c07)
   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