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

Re: Changing indents

From
Jakub Narebski <jnareb@gmail.com>
Date
May 21, 2010, 16:30 UTC
Message-ID
<m3vdahqkuw.fsf@localhost.localdomain>
In-Reply-To
<C0CDDC0A-A813-41C3-8CEC-40EFADFB5A4A@kellerfarm.com>
Andrew Keller <andrew@kellerfarm.com> writes:
Show 5 quoted lines
> 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?
Whatever for?  Use "git blame -w <file>" (ignore whitespace).
-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Andrew KellerNext: Andrew Keller
Message 4 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.