openmicroscopy/openmicroscopy — pull request #1177 by sbesson (2013-05-16 08:11:10+00:00)
Title: Clean /usr/local Git repository before calling brew doctor

When formulas are deleted by the bin/brew update operation, files remain
untracked in the main Git repository causing brew doctor to return a non-zero
error code. This commit fixes this by calling git clean -df post brew update.
Note this will potentially wipe out files not related to Homebrew and should
only be used in a testing environment.