How to set tab size for hunks in “git add -p”?
- From
- Янчарук Александр <alex@itvault.info>
- Date
- Aug 23, 2013, 17:28 UTC
- Message-ID
- <52179BAB.3040505@itvault.info>
Hi!
I used the solution from here <http://stackoverflow.com/questions/15132325/how-to-set-tab-size-for-pager-used-in-git-diff> to change tab size in |git diff||| output. That works fine with git diff.
I have these settings in my *.gitconfig*:
|[core]
whitespace = tabsize=4,indent-with-non-tab
pager = less -FSRX -x4
|But those settings seems does not affect on |git add -p|. How to set tab size for hunks in *git add -p* command?
Thanks in advance!
-- Best regards, Alexander Yancharuk alex@itvault.info <mailto:alex@itvault.info>