Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git meta diff should understand --word-diff #616

Open
georgyo opened this issue Jun 20, 2018 · 1 comment
Open

git meta diff should understand --word-diff #616

georgyo opened this issue Jun 20, 2018 · 1 comment

Comments

@georgyo
Copy link

georgyo commented Jun 20, 2018

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

@tsuikevi-twosigma
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants