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

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

              Created:
              Updated:
              Resolved: