git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
ЯАЯнчарук Александр <alex@itvault.info>
Date
Aug 24, 2013, 09:53 UTC
Message-ID
<5218828E.2020000@itvault.info>
In-Reply-To
<CALWbr2xvMtXddpnkVs8TkSiaLcmpJGY7_hUTa3r_1X1SgDyhng@mail.gmail.com>
Thanks a lot!

That solution worked for me: env TERM=linux setterm -regtabs 4

Best regards, Alexander Yancharuk alex@itvault.info <mailto:alex@itvault.info> On 23.08.2013 22:19, Antoine Pelisse wrote:

Show 5 quoted lines
> On Fri, Aug 23, 2013 at 7:28 PM, Янчарук Александр <alex@itvault.info> 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.
Previous: Antoine Pelisse
Message 3 of 3 in “How to set tab size for hunks in “git add -p”?”
  1. Янчарук АлександрAug 23, 2013
  2. Antoine PelisseAug 23, 2013
  3. Янчарук АлександрAug 24, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.