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

SourceTree Displays Incorrect Git History Graph

    XMLWordPrintable

Details

    • Severity 3 - Minor

    Description

      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.

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: