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

Re: statistics

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Jul 25, 2008, 13:34 UTC
Message-ID
<4889D66E.9090802@viscovery.net>
In-Reply-To
<alpine.DEB.1.00.0807251519290.11976@eeepc-johanness>
Johannes Schindelin schrieb:
Show 5 quoted lines
> On Fri, 25 Jul 2008, Johannes Sixt wrote:
> 
>>   comm -13 <(git diff --name-only your-rev-here) <(git ls-files)
> 
> But should it not be -12?
I don't think so:
  -1 .. suppress lines unique to 1st arg, i.e. removed files
  -2 .. suppress lines unique to 2nd arg, i.e. unmodified files
  -3 .. suppress lines in both, i.e. modified and added files
We want to keep lines that -2 would remove, that leaves -1 and -3.
-- Hannes
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 5 of 7 in “statistics”
  1. Rene HermanJul 25, 2008
  2. Johannes SixtJul 25, 2008
  3. Rene HermanJul 25, 2008
  4. Johannes SchindelinJul 25, 2008
  5. Johannes SixtJul 25, 2008
  6. Johannes SchindelinJul 25, 2008
  7. Kevin BallardJul 25, 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.