git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Янчарук Александр" <alex@itvault.info>
To: git@vger.kernel.org
Subject: How to set tab size for hunks in “git add -p”?
Date: Fri, 23 Aug 2013 21:28:11 +0400	[thread overview]
Message-ID: <52179BAB.3040505@itvault.info> (raw)

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>

             reply	other threads:[~2013-08-23 17:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-23 17:28 Янчарук Александр [this message]
2013-08-23 18:19 ` How to set tab size for hunks in “git add -p”? Antoine Pelisse
2013-08-24  9:53   ` Янчарук Александр

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52179BAB.3040505@itvault.info \
    --to=alex@itvault.info \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).