Why do some commits not appear in "git log"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This is my first post to this list, so I hope this is the appropriate place.

I'm having a problem understanding why "git log file" does not show
some of the commits where file is changed. Consider the following
commit history:

> git log --pretty=oneline --abbrev-commit | head -20
e86d3b1 Merge remote-tracking branch 'git-svn' into MultiDataPath
05e7103 Made the system convert DP geometric info to MultiDP info and
load it at machine start.
2de7375 Fixed compilation under Linux.
b520873 Error handling!!
73110bd New Group manager for multi data processor
dce3ae9 Merge branch 'MultiDataPath' of
ssh://swteam/home/machine/git/SolarJet into MultiDataPath
25dff3c Merge branch 'MultiDataPath' of
ssh://swteam/home/machine/git/SolarJet into MultiDataPath
247f418 Rewrite of the Finger heightmap nozzle selection algorithm for
better load balancing.
026fec8 Stop all the jobs on async stop or on exception Choice nozzles
using max nozzles number
84a60b7 avoid CarouselSimulationParams
c40df74 git-svn-id: svn://swteam/SolarJet/trunk@4684
d8e1dcc2-e5e0-4eb0-83da-8cedbf775ddd
:

Now let's limit this to the history of a single file:

> git log --pretty=oneline --abbrev-commit Apps/SolarJet/Project/qt/SysScripts/init.py | head
84a60b7 avoid CarouselSimulationParams
c40df74 git-svn-id: svn://swteam/SolarJet/trunk@4684
d8e1dcc2-e5e0-4eb0-83da-8cedbf775ddd
:

As can be see above there were lots of commits omitted now. E.g.
05e7103 (the second commit above). But if I list the changes in
05e7103 I then get:

> git show 05e7103 --name-only | grep init.py
Apps/SolarJet/Project/qt/SysScripts/init.py

Running without --name-only show that there is a substantial change in init.py

So why does this commit not show up in in "git log file"?

One interesting observation is that the only commits that appear in
the "git log file" command are the commits that were imported from
svn. All other commits are filtered out.

So is this a bug, or am I doing something wrong?

Thanks in advance!
Dov
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]