If I do a git log of a directory I do get this output:

commit cac593ac5ab32057d9b23128fdbf04484a33063f
Author: andrei <andrei.hainarosie@gmail.com>
Date:   Mon Jul 18 10:56:55 2011 +0300

    Issue 83: Remove Geld and Brief columns

:100644 100644 9b5a848... 81a7d8c... M  sites/all/modules/custom/company_market/themes/company_market_all_markets_info.tpl.php

commit 8cfafc073b76d2701529c273014d9541633735fe
Author: andrei <andrei.hainarosie@gmail.com>
Date:   Sat Jul 16 13:24:43 2011 +0300

Issue 70 - change the exchange symbol and exchange city to EXCHANGE NAME

:100644 100644 f965296... 9b5a848... M  sites/all/modules/custom/company_market/themes/company_market_all_markets_info.tpl.php
:100644 100644 fc7f8aa... a9cea68... M  sites/all/modules/custom/company_market/themes/company_market_switcher.tpl.php

If I do a git log of the file company_market_all_markets_info.tpl.php only this commits are missing and if I open the file the changes applied in the commits above are missing as well.

Any ideas what's going on here?

To me this looks as the directory knows about the changes to one of files but the file doesn't.

link|improve this question

What exact git log commands are you using? It is possible you are doing (e.g.) git log master in the first case but you do not actually have (e.g.) the master branch checked out? What does git branch show for the active branch (leading asterisk: *)? Please update (edit) your question to include any followup information. – Chris Johnsen Jul 22 '11 at 3:48
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.