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

Re: Rebase & Trailing Whitespace

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Sep 2, 2011, 07:32 UTC
Message-ID
<4E6086AA.40806@drmicha.warpmail.net>
In-Reply-To
<20110901212618.GB16308@sigill.intra.peff.net>
Jeff King venit, vidit, dixit 01.09.2011 23:26:
Show 13 quoted lines
> On Thu, Sep 01, 2011 at 10:00:38PM +0100, Philip Oakley wrote:
> 
>>> [1] If you don't remember the empty tree sha1, you can always derive it
>>>   with:
>>>
>>>       git hash-object -t tree /dev/null
>>>
>>
>> I've added this tip to the
>> https://git.wiki.kernel.org/index.php/Aliases page
> 
> Thanks. By itself, I think many readers would ask "why would I want the
> empty tree, so I threw in a few examples of use on the wiki, too.

Ugh. I mean: Thanks for the wiki entries, they're nice, but have you checked git.git for whitespace errors? Time for another war on whitespace? Many false positives, of course, but also true positives.

Michael
Previous: Jeff KingNext: Jeff King
Message 5 of 8 in “Rebase & Trailing Whitespace”
  1. Hilco WijbengaAug 31, 2011
  2. Jeff KingSep 1, 2011
  3. Philip OakleySep 1, 2011
  4. Jeff KingSep 1, 2011
  5. Michael J GruberSep 2, 2011
  6. Jeff KingSep 2, 2011
  7. Clemens BuchacherSep 3, 2011
  8. Jeff KingSep 9, 2011

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.