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

Re: [EGIT PATCH] Show diffs for changed files under a new or deleted directory.

From
Robin Rosenberg <robin.rosenberg@dewire.com>
Date
Feb 18, 2008, 06:44 UTC
Message-ID
<200802180744.57757.robin.rosenberg@dewire.com>
In-Reply-To
<47B9110E.90707@intelinet.com.br>
måndagen den 18 februari 2008 skrev du:
Show 6 quoted lines
> The Differencer I changed was actually a bug. If you say that the files 
> left in the left pane are Differencer.ADDITION, then the ones left on 
> the right pane _must_ be Differencer.DELETION. It just doesn't make 
> sense to say that files not on the old tree but on the new tree are 
> addition, and at the same time that files on the old tree but not on the 
> new tree are also addition.
Ok, I see. I'll test it a little and push soon.
Show 6 quoted lines
> > I'd love to see a unit test for your code since, even if it works, it is very easy
> > to break again.
> >   
> Ok, I'll get a look on the test cases and probably write something when 
> I get back into these compare issues. That if somebody else doesn't do 
> it before me, of course :)
Not very likely within a short time frame, though I want do the excersize. Unfortunately I have too many open branches right now to add yet another. The original author (cough, cough) didn't do it. I was so happy and pleased, at them time, to see it work at all so easiliy :) . I've written some tests for other functions, so I guess it's mostly about setting up some more infrastructure to make testing reasonably simple.
-- robin
Previous: Roger C. Soares
Message 4 of 4 in “Show diffs for changed files under a new or deleted directory.”
  1. Show diffs for changed files under a new or deleted directory.Roger C. Soares, Feb 17, 2008
  2. Robin RosenbergFeb 17, 2008
  3. Roger C. SoaresFeb 18, 2008
  4. Robin RosenbergFeb 18, 2008

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.