Re: [PATCH 4/4] Add new --diff-opts/-O flag to diff- and status-related commands.
- From
- Catalin Marinas <catalin.marinas@gmail.com>
- Date
- Jun 4, 2007, 22:15 UTC
- Message-ID
- <b0943d9e0706041515l6114a015ye45d40478cc0e3ef@mail.gmail.com>
- In-Reply-To
- <20070531223438.6005.76115.stgit@gandelf.nowhere.earth>
On 31/05/07, Yann Dirson <ydirson@altern.org> wrote:
Show 7 quoted lines
> 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.
BTW, should we add --binary by default to export and mail? Do you see any problem with this?
Another idea would be to add support for a [stgit "options"] section with entries like "mail = -O --binary".
-- Catalin