Add new --diff-opts/-O flag to diff- and status-related commands.
authorYann Dirson <ydirson@altern.org>
Thu, 31 May 2007 22:34:38 +0000 (00:34 +0200)
committerCatalin Marinas <catalin.marinas@gmail.com>
Sat, 2 Jun 2007 22:43:52 +0000 (23:43 +0100)
commit2ace36ab494d7f3ee2748e74be92568725078828
tree5e7428d2d73e011fa47f47478a0935837a5a984d
parent0d219030bbc792da477f721578e0acc1256fc6d0
Add new --diff-opts/-O flag to diff- and status-related commands.

This new flag allows to pass arbitrary flags to the git-diff calls
underlying several StGIT commands.  It can be used to pass flags
affecting both diff- and status-generating commands (eg. -M or -C), or
flags only affecting diff-generating ones (eg. --color, --binary).

It supercedes --binary for commands where it was allowed,
'-O --binary' is now available for the same functionality.

Signed-off-by: Yann Dirson <ydirson@altern.org>
stgit/commands/diff.py
stgit/commands/export.py
stgit/commands/files.py
stgit/commands/mail.py
stgit/commands/show.py
stgit/commands/status.py
stgit/git.py