Re: How to set tab size for hunks in “git add -p”?
Thanks a lot! That solution worked for me: env TERM=linux setterm -regtabs 4 Best regards, Alexander Yancharuk a...@itvault.info <mailto:a...@itvault.info> On 23.08.2013 22:19, Antoine Pelisse wrote: On Fri, Aug 23, 2013 at 7:28 PM, Янчарук Александр wrote: But those settings seems does not affect on |git add -p|. How to set tab size for hunks in *git add -p* command? That's because "git add -p" doesn't go through less/pager. You can certainly change the tabs size for your terminal with "tabs -4" though. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: How to set tab size for hunks in “git add -p”?
On Fri, Aug 23, 2013 at 7:28 PM, Янчарук Александр wrote: > But those settings seems does not affect on |git add -p|. How to set tab > size for hunks in *git add -p* command? That's because "git add -p" doesn't go through less/pager. You can certainly change the tabs size for your terminal with "tabs -4" though. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
How to set tab size for hunks in “git add -p”?
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 a...@itvault.info <mailto:a...@itvault.info> -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html