git-meta icon indicating copy to clipboard operation
git-meta copied to clipboard

git meta diff should understand --word-diff

Open georgyo opened this issue 6 years ago • 1 comments

git diff --word-diff is very useful for figuring out change code changes when a lot of white space changes have occurred, such has re/de-indenting blocks of code.

git meta diff --word-diff does not error but also does not pass the argument down argument down to the individual git diff commands.

git meta should likely pass all arguments of after the diff to the individual git diffs

georgyo avatar Jun 20 '18 15:06 georgyo

Took a quick look at this and just wanted to share my findings. The way git meta diff is implemented is that we just end up calling git diff --submodule=diff. If the --word-diff argument is added it is actually passed to the individual call to git diff but it seems like git ignores the argument when used in conjunction with --submodule=diff.

tsuikevi-twosigma avatar Jun 11 '21 14:06 tsuikevi-twosigma