git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dov Grobgeld <dov.grobgeld@gmail.com>
To: git@vger.kernel.org
Subject: Why do some commits not appear in "git log"?
Date: Tue, 2 Aug 2011 18:38:14 +0300	[thread overview]
Message-ID: <CA++fsGEht+UDp9EnFyfvn-uT1DYPcnhpwmPy_H4PTWvsvUceAQ@mail.gmail.com> (raw)
In-Reply-To: <CA++fsGGG7pLt4xoeJozGnYEwOrs6NuzStYPKF_L5k49uzFB-4A@mail.gmail.com>

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

       reply	other threads:[~2011-08-02 15:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CA++fsGGG7pLt4xoeJozGnYEwOrs6NuzStYPKF_L5k49uzFB-4A@mail.gmail.com>
2011-08-02 15:38 ` Dov Grobgeld [this message]
2011-08-02 15:56   ` Why do some commits not appear in "git log"? Michael Witten
2011-08-03  5:47     ` Dov Grobgeld
2011-08-03 18:57       ` Junio C Hamano
     [not found]         ` <CA++fsGG1xHm2ubXB-EL56L6xSau9AQX=o8fvmZb_7zNFkqdW2w@mail.gmail.com>
2011-08-06 17:43           ` Dov Grobgeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA++fsGEht+UDp9EnFyfvn-uT1DYPcnhpwmPy_H4PTWvsvUceAQ@mail.gmail.com \
    --to=dov.grobgeld@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).