How to set tab size for hunks in “git add -p”?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx <mailto:alex@xxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]