The git-diffall script provides a directory based diff mechanism for git. The script relies on the diff.tool configuration option to determine what diff viewer is used.
This script is compatible with all the forms used to specify a range of revisions to diff:
- git diffall: shows diff between working tree and staged changes
- git diffall --cached []: shows diff between staged changes and HEAD (or other named commit)
- git diffall : shows diff between working tree and named commit
- git diffall : show diff between two named commits
- git diffall ..: same as above
- git diffall ...: show the changes on the branch containing and up to the second, starting at a common ancestor of both
Note: all forms take an optional path limiter [--] [*]
This script is based on an example provided by Thomas Rast on the Git list [1]: [1] http://thread.gmane.org/gmane.comp.version-control.git/124807
Forked to add in an araxisgitdiffall AppleScript and modified git-diffall to use a customized diff tool.
[diffall]
external = /path/to/your/bin/araxisgitdiffall