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

        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: