Script to perform directory diffs using an external diff tool in Git
Shell
Pull request Compare This branch is 4 commits ahead, 34 commits behind thenigan:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
araxisgitdiffall
git-diffall

README.md

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:

  1. git diffall: shows diff between working tree and staged changes
  2. git diffall --cached []: shows diff between staged changes and HEAD (or other named commit)
  3. git diffall : shows diff between working tree and named commit
  4. git diffall : show diff between two named commits
  5. git diffall ..: same as above
  6. 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