git-gc.shon commit write_in_full: really write in full or return error on disk full. (f6aa66c)
   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