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

Re: [PATCH 3/3] git-cvsexportcommit.perl: git-apply no longer needs --binary

From
Shawn O. Pearce <spearce@spearce.org>
Date
Oct 17, 2007, 01:11 UTC
Message-ID
<20071017011148.GL13801@spearce.org>
In-Reply-To
<561D7B44-9EDE-447B-A751-BE6E3A3AD9CC@mit.edu>
Michael Witten <mfwitten@MIT.EDU> wrote:
Show 5 quoted lines
> On 16 Oct 2007, at 5:20:14 PM, Robin Rosenberg wrote:
> 
> >So all this series does is... making it harder to follow the history?
> 
> If you follow the history solely on patches.

`git-blame -w` can probably punch through the indentation change just fine to find the older history. But it does make `git log -p` damn ugly to read at this point in history. And if you forget the -w to git-blame, well, then you are really in for some fun for a few minutes. Lets not mention pickaxe noticing strings removed+added in this patch either.

Show 6 quoted lines
> >Ack for removing the --binary, the rest is just noise
> 
> I think fixing the tabs is more important than removing --binary.
> 
> It's clear the the entropy of tabulation increases over time;
> the tab patch acts as a buffer to reconstruct a clean signal.

Sorry, but I have to say I agree with Robin here. The tab patch is large, ugly, and provides relatively little value in comparsion.

The first rule of git development typically is "any change is bad". Because anything that is already written can be assumed to already be tested and in use by someone. Breaking that is bad, as then they have a bad experience with git.

There needs to be a really good reason behind a change, like the existing code is already not functioning according to its documented behavior due to a corner case input. Such things should be changed.

I'm not going to apply the indentation change patch to my tree. You can try to resubmit it through Junio after he's back online and accepting patches.

-- 
Shawn.
Previous: Michael WittenNext: Michael Witten
Message 10 of 13 in “git-cvsexportcommit.perl tabified”
  1. 1/3 git-cvsexportcommit.perl tabifiedMichael Witten, Oct 16, 2007
  2. 2/3 git-cvsexportcommit.perl tmpdir removedMichael Witten, Oct 16, 2007
  3. 3/3 git-cvsexportcommit.perl: git-apply no longer needs --binaryMichael Witten, Oct 16, 2007
  4. Johannes SchindelinOct 16, 2007
  5. Michael WittenOct 16, 2007
  6. Robin RosenbergOct 16, 2007
  7. Michael WittenOct 16, 2007
  8. Johannes SchindelinOct 16, 2007
  9. Michael WittenOct 16, 2007
  10. Shawn O. PearceOct 17, 2007
  11. Michael WittenOct 17, 2007
  12. Robin RosenbergOct 20, 2007
  13. Shawn O. PearceOct 17, 2007

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.