claf
claf

Reputation: 9263

git gui using diff -b as difftool

I'm looking for a way to keep using git gui to commit changes as I always do, but get rid of indentation changes (as i'm not the only dev). using the '-b' switch to diff does the trick but i'm looking for the right place to tell this to git gui ... Any solution will be appriciated!

Upvotes: 2

Views: 409

Answers (2)

fbstj
fbstj

Reputation: 1714

This patch seems to do what you wish.

Upvotes: 0

Eric Johnson
Eric Johnson

Reputation: 17978

I'm confused by your question. '-b' doesn't get rid of indentation changes. It just hides them when it shows you the diff.

You probably should handle the tabs vs spaces issue in your editor.

Upvotes: 1

Related Questions