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

git log anomalities

From
Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date
Jul 22, 2013, 09:08 UTC
Message-ID
<20130722090854.GA22222@pengutronix.de>
Hello,

today I looked at the changes to drivers/net/ethernet/freescale/fec.c in the kernel since v3.8 using

	git log --stat v3.8.. --full-diff -- drivers/net/ethernet/freescale/fec.c

which looks as expected. But when I added --graph the diffstats change. E.g. for 793fc0964be1921f15a44be58b066f22b925d90b it changes from:

 drivers/net/ethernet/freescale/Makefile   |    3 +-
 drivers/net/ethernet/freescale/fec.c      | 1966 -----------------------------
 drivers/net/ethernet/freescale/fec_main.c | 1966 +++++++++++++++++++++++++++++
 drivers/net/ethernet/freescale/fec_ptp.c  |    3 -
 4 files changed, 1968 insertions(+), 1970 deletions(-)
to
|  Documentation/devicetree/bindings/net/dsa/dsa.txt |   91 +
|  .../bindings/net/marvell-orion-mdio.txt           |    3 +
|  Documentation/networking/ip-sysctl.txt            |   35 +-
|  MAINTAINERS                                       |    2 +-
|  arch/arm/net/bpf_jit_32.c                         |    5 +-
|  arch/arm/plat-orion/common.c                      |   54 +-
|  arch/powerpc/net/bpf_jit_comp.c                   |   12 +-
|  ...
|  404 files changed, 15373 insertions(+), 8563 deletions(-)
Is that a bug, or a feature I don't understand?
(I'm using Debian's 1:1.8.3.2-1)

Best regards Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Next: Thomas Rast
Message 1 of 9 in “git log anomalities”
  1. Uwe Kleine-KönigJul 22, 2013
  2. Thomas RastJul 22, 2013
  3. log: use true parents for diff even when rewritingThomas Rast, Jul 22, 2013
  4. Junio C HamanoJul 22, 2013
  5. Thomas RastJul 23, 2013
  6. Uwe Kleine-KönigJul 23, 2013
  7. Junio C HamanoJul 23, 2013
  8. log: use true parents for diff even when rewritingThomas Rast, Jul 31, 2013
  9. Jeff KingJul 31, 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.