git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Confusing git log --- First time bug submission please advise on best practices
@ 2014-02-06 14:02 Francis Stephens
  2014-02-06 16:08 ` Vincent van Ravesteijn
  0 siblings, 1 reply; 19+ messages in thread
From: Francis Stephens @ 2014-02-06 14:02 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 2166 bytes --]

My co-worker has an inconsistent git log output. Please see that
attached files for output (I've made a best effort to remove
confidential info from them).

Comparing the two log commands we can see that master and
originssh/master have a shared common commit at

    <John Doe> (4 hours ago) d85832d
  More pom fixes

The top commit for originssh/master and the second to top for master.

I would expect that both logs would share an _identical_ history from
that commit onward. But the log for master contains the following

  <Jeremy Doe> (27 hours ago) 239ea21  (my-work)
  renamed class

  <Jeremy Doe> (28 hours ago) 27750b2
  Merge branch 'master' of
http://githost.companyname-dev.local/trading-development/sports-container-framework

and

  <Jeremy Doe> (2 days ago) a933acb
  white space changes

  <Jeremy Doe> (2 days ago) b5e51e7
  Merge branch 'master' of
http://githost.companyname-dev.local/trading-development/sports-container-framework

  <Jeremy Doe> (2 days ago) 3a0f787
  removed public methods

  <Jeremy Doe> (2 days ago) 4e91130
  added the xml deserialisation

None of which appear in the originssh/master log. Is there a scenario
in which this is expected. It was my understanding that any two
commits with the same hash have exactly the same history.

Thanks for your time.





Technical details:

He is using the Windows git client version 1.8.5.2.msysgit.0
Running on Windows 7
Every command was run through git bash

Background:

He previously had tortoise-git installed, but I had him uninstall it
to solve some ssh problems
While uninstalling tortoise-git we also reinstalled git - I don't know
what the previous version of git was.

Output of

    git branch -avv
    * master                   6833fd4 Completed merge
      my-work                  239ea21 renamed class
      remotes/origin/HEAD      -> origin/master
      remotes/origin/master    f269789 Cleaning up GIT step 1
      remotes/originssh/master d85832d More pom fixes

The background on the originssh remote branch is that his origin uses
an HTTP url which wasn't allowing him to push a large commit. I helped
him to create originssh to allow the push to be made.

[-- Attachment #2: master --]
[-- Type: application/octet-stream, Size: 1364 bytes --]

git lg master

<Jeremy Doe> (2 hours ago) 6833fd4  (HEAD, master)

Completed merge



<John Doe> (4 hours ago) d85832d  (originssh/master)

More pom fixes



<John Doe> (20 hours ago) 39f3e87 

few pom fixes so project can build in nexus



<John Doe> (20 hours ago) f3cd7ad 

fixed a few bugs that was stopping it from building



<John Doe> (21 hours ago) 782fb1c 

updated kangarooboxing-rnd module



<John Doe> (21 hours ago) 93b56d3 

.gitignore file to ignore .iml and .idea files



<John Doe> (21 hours ago) 9dec2df 

Updated code for creation incl. unit tests



<Jane Doe> (22 hours ago) 8f4ba15 

Added market model



<Jeremy Doe> (27 hours ago) 239ea21  (my-work)

renamed class



<Jeremy Doe> (28 hours ago) 27750b2 

Merge branch 'master' of http://githost.companyname-dev.local/trading-development/sports-container-framework



<Jane Doe> (2 days ago) f269789  (origin/master, origin/HEAD)

Cleaning up GIT step 1



<Jeremy Doe> (2 days ago) a933acb 

white space changes



<Jeremy Doe> (2 days ago) b5e51e7 

Merge branch 'master' of http://githost.companyname-dev.local/trading-development/sports-container-framework



<Jeremy Doe> (2 days ago) 3a0f787 

removed public methods



<Jeremy Doe> (2 days ago) 4e91130 

added the xml deserialisation



<John Doe> (2 days ago) e10e877 

Merged creation to Openbet code with Jane's newest code


[-- Attachment #3: originssh_master --]
[-- Type: application/octet-stream, Size: 749 bytes --]

git lg originssh/master

<John Doe> (4 hours ago) d85832d  (originssh/master)

More pom fixes



<John Doe> (20 hours ago) 39f3e87 

few pom fixes so project can build in nexus



<John Doe> (20 hours ago) f3cd7ad 

fixed a few bugs that was stopping it from building



<John Doe> (21 hours ago) 782fb1c 

updated kangarooboxing-rnd module



<John Doe> (21 hours ago) 93b56d3 

.gitignore file to ignore .iml and .idea files



<John Doe> (21 hours ago) 9dec2df 

Updated code for creation incl. unit tests



<Jane Doe> (22 hours ago) 8f4ba15 

Added market model



<Jane Doe> (2 days ago) f269789  (origin/master, origin/HEAD)

Cleaning up GIT step 1



<John Doe> (2 days ago) e10e877 

Merged creation to Openbet code with Jane's newest code

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2014-03-25 22:30 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-06 14:02 Confusing git log --- First time bug submission please advise on best practices Francis Stephens
2014-02-06 16:08 ` Vincent van Ravesteijn
2014-02-06 16:10   ` David Kastrup
2014-02-07  9:43     ` Francis Stephens
2014-02-07 10:26       ` Duy Nguyen
2014-02-07 11:37         ` demerphq
2014-02-08 13:50           ` [PATCH] log: add --show-linear-break to help see non-linear history Nguyễn Thái Ngọc Duy
2014-03-17 12:51             ` [PATCH v2] log: add --nonlinear-barrier " Nguyễn Thái Ngọc Duy
2014-03-17 19:09               ` Eric Sunshine
2014-03-17 20:32               ` Junio C Hamano
2014-03-18 11:46                 ` Duy Nguyen
2014-03-18 19:08                   ` Junio C Hamano
2014-03-20  5:44               ` [PATCH v3 1/2] object.h: centralize object flag allocation Nguyễn Thái Ngọc Duy
2014-03-20  5:44                 ` [PATCH v3 2/2] log: add --show-linear-break to help see non-linear history Nguyễn Thái Ngọc Duy
2014-03-20 19:15                   ` Junio C Hamano
2014-03-21  1:02                     ` Duy Nguyen
2014-03-25 13:23                 ` [PATCH v4 1/2] object.h: centralize object flag allocation Nguyễn Thái Ngọc Duy
2014-03-25 13:23                   ` [PATCH v4 2/2] log: add --show-linear-break to help see non-linear history Nguyễn Thái Ngọc Duy
2014-03-25 22:30                     ` Junio C Hamano

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).