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
Antoine Pelisse <apelisse@gmail.com>
Date
Aug 23, 2013, 18:19 UTC
Message-ID
<CALWbr2xvMtXddpnkVs8TkSiaLcmpJGY7_hUTa3r_1X1SgDyhng@mail.gmail.com>
In-Reply-To
<52179BAB.3040505@itvault.info>
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: Янчарук АлександрNext: Янчарук Александр
Message 2 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.