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

Changing indents

From
Andrew Keller <andrew@kellerfarm.com>
Date
May 21, 2010, 16:01 UTC
Message-ID
<C0CDDC0A-A813-41C3-8CEC-40EFADFB5A4A@kellerfarm.com>
Is it possible to change the indent of a line (or multiple lines) without rewriting the whole line?  Or, more specifically, can a commit exist that modifies the leading whitespace of a line but still allows you to trace the origin of the line to a previous commit?

Thanks, Andrew Keller

Next: Ævar Arnfjörð Bjarmason
Message 1 of 5 in “Changing indents”
  1. Andrew KellerMay 21, 2010
  2. Ævar Arnfjörð BjarmasonMay 21, 2010
  3. Andrew KellerMay 21, 2010
  4. Jakub NarebskiMay 21, 2010
  5. Andrew KellerMay 22, 2010

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.