threads / discuss / 44976

mergetool and difftool inconsistency?

Subject: mergetool and difftool inconsistency?

## tl;dr

2 messages between Jan 26, 2017 and Feb 3, 2017.

replies: 1people: 2as markdown or json

Denton Liu· Jan 26, 2017, 02:58 UTC · lore
Hello all,

I was wondering if there is any reason why 'git difftool' accepts the '-g|--gui' whereas 'git mergetool' does not have an option to accept that flag. Please let me know if this is intentional, otherwise I can write up a patch to add the GUI flag to 'mergetool'.

Thanks!
David Aguilar· Feb 3, 2017, 10:32 UTC · re: Denton Liu · lore

Re: mergetool and difftool inconsistency?

On Wed, Jan 25, 2017 at 06:58:10PM -0800, Denton Liu wrote:
Show 8 quoted lines
> Hello all,
> 
> I was wondering if there is any reason why 'git difftool' accepts the
> '-g|--gui' whereas 'git mergetool' does not have an option to accept
> that flag. Please let me know if this is intentional, otherwise I can
> write up a patch to add the GUI flag to 'mergetool'.
> 
> Thanks!
Hello,

The difference was not intentional. The "--gui" feature was added to difftool because that's where the feature was originally requested, but there's no reason why mergetool couldn't have a similar option.

cheers,
-- 
David

← back to recent threads