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

Possible bug report

From
Pierre-François CLEMENT <likeyn@gmail.com>
Date
Apr 26, 2013, 15:59 UTC
Message-ID
<CANWD=rVdAVP0KSdai-tQf9VtVj7bOLMrENiG_fx-mD_R2f8SnQ@mail.gmail.com>
Hi guys, I get strange result when running the following command:
$ git diff develop..HEAD --shortstat --cumulative
 27 files changed, 886 insertions(+), 101 deletions(-)
   9.2% apps/frontend/modules/conversionspecs/actions/
  35.2% apps/frontend/modules/conversionspecs/templates/
  45.0% apps/frontend/modules/conversionspecs/
  45.2% apps/frontend/
   8.7% config/doctrine/
   4.8% lib/filter/doctrine/
   8.1% lib/form/doctrine/
  21.9% lib/migration/doctrine/
  10.0% lib/model/doctrine/
  44.9% lib/
  12.9% apps/frontend/modules/conversionspecs/actions/
  37.1% apps/frontend/modules/conversionspecs/templates/
  50.6% apps/frontend/modules/conversionspecs/
  50.7% apps/frontend/
   6.6% config/doctrine/
   3.2% lib/filter/doctrine/
   9.1% lib/form/doctrine/
  20.6% lib/migration/doctrine/
   8.5% lib/model/doctrine/
  41.5% lib/

As you can see, the --cumulative lines seem to be duplicated, though the computed stats aren't exactly the same... It appears when you combine the --cumulative option with either --stat, --numstat or --shortstat (but not --dirstat) on any local or remote branches EXCEPT on both master and origin/master.

I use git-flow and git v1.7.9.5 on Ubuntu 12.04 LTS. Let me know if you need any further informations. -- Pierre-François CLEMENT Self-employed web developer Application developer @ Upcast Social Phone number (FR): +336.827.331.89 Phone number (UK): +447.449.508.188 http://www.linkedin.com/in/likeyn/en http://www.doyoubuzz.com/pierre-francois-clement/

Next: Junio C Hamano
Message 1 of 2 in “Possible bug report”
  1. Pierre-François CLEMENTApr 26, 2013
  2. Junio C HamanoApr 26, 2013

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.