Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-7527

SourceTree Displays Incorrect Git History Graph

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 2.5.0-beta-0
    • 1.6.25, 2.4.7.0
    • None
    • Severity 3 - Minor

      Create a repository using the following script and add it to SourceTree:

      $ mkdir /tmp/linear1
      $ cd /tmp/linear1
      $ git init
      $ for i in 0 1 2 3 4 5 6 7 8 9
      do
         name=file_$i; ls > $name 
         git add $name; git commit -m "add $name"
      done
      $ git tag tag-2 HEAD^^^^^^
      $ git tag tag-3 HEAD^^^
      

      SourceTree history graph for "Date Order" and "Ancestor Order" are not the same.

        1. 1-so-far-so-good.png
          1-so-far-so-good.png
          344 kB
        2. 2-incorrect-graph-ancestry.png
          2-incorrect-graph-ancestry.png
          339 kB
        3. 3-correct-ancestry-in-gitk.png
          3-correct-ancestry-in-gitk.png
          187 kB
        4. Alexey_s_real_repo.png
          Alexey_s_real_repo.png
          19 kB
        5. Alexey_s_real_repo.png
          Alexey_s_real_repo.png
          25 kB
        6. case1_Ancestor_order.png
          case1_Ancestor_order.png
          147 kB
        7. case1_date_order.png
          case1_date_order.png
          150 kB
        8. order_case_by_date_childnode_gitK.png
          order_case_by_date_childnode_gitK.png
          60 kB
        9. order_case_by_date_childnode_sourceTree.png
          order_case_by_date_childnode_sourceTree.png
          55 kB
        10. SourceTree-00.jpg
          SourceTree-00.jpg
          9 kB
        11. SourceTree-00.jpg
          SourceTree-00.jpg
          6 kB
        12. SourceTree-01.jpg
          SourceTree-01.jpg
          11 kB
        13. SourceTree-02.jpg
          SourceTree-02.jpg
          7 kB
        14. SourceTree-03.jpg
          SourceTree-03.jpg
          14 kB
        15. SourceTree-03.jpg
          SourceTree-03.jpg
          17 kB
        16. weird git.PNG
          weird git.PNG
          16 kB
        17. weird git2.png
          weird git2.png
          15 kB

              mcorsaro Mike Corsaro (Inactive)
              rluispereiramartins RicardoA
              Votes:
              18 Vote for this issue
              Watchers:
              22 Start watching this issue

                Created:
                Updated:
                Resolved: