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

"Uncommitted changes" when there's nothing to commit with submodules

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.4.18
    • 2.0.19.1, 2.3.1.0
    • None
    • Severity 2 - Major

      I have a Git repo with a submodule that has uncommitted changes. The Log / History view shows "Uncommitted changes" on top of the graph (see attached screenshot). However, the parent repository doesn't have anything to commit, so the "File Status" view doesn't allow a commit to be created ("Nothing to commit" is shown and the "Commit" buttton is greyed out).

      In SourceTree 1.7.0.352509, the behavior is far less confusing. It shows a "..." in the list of submodules on the left, but the Log / History view doesn't claim that there are "uncommitted changes".

        1. image-2017-07-17-11-16-41-605.png
          image-2017-07-17-11-16-41-605.png
          187 kB
        2. image-2017-08-25-07-37-02-068.png
          image-2017-08-25-07-37-02-068.png
          27 kB
        3. image-2017-09-01-16-03-51-249.png
          image-2017-09-01-16-03-51-249.png
          83 kB
        4. image-2024-05-20-10-23-12-207.png
          image-2024-05-20-10-23-12-207.png
          439 kB
        5. image-2024-05-20-10-24-10-552.png
          image-2024-05-20-10-24-10-552.png
          449 kB
        6. image-2024-05-20-10-27-00-824.png
          image-2024-05-20-10-27-00-824.png
          281 kB
        7. Screenshot_1.png
          Screenshot_1.png
          4 kB
        8. Screenshot_2.png
          Screenshot_2.png
          3 kB
        9. Screenshot_3.png
          Screenshot_3.png
          3 kB
        10. SourceTree_2017-05-01_12-30-27.png
          SourceTree_2017-05-01_12-30-27.png
          4 kB
        11. SourceTree_2017-05-01_12-32-18.png
          SourceTree_2017-05-01_12-32-18.png
          10 kB
        12. SourceTree_2017-05-01_12-33-58.png
          SourceTree_2017-05-01_12-33-58.png
          2 kB
        13. SourceTree_2017-05-01_12-34-07.png
          SourceTree_2017-05-01_12-34-07.png
          5 kB
        14. st_bug_2.png
          st_bug_2.png
          20 kB
        15. UnCommited.png
          UnCommited.png
          69 kB

              698877135425 Mukesh Kumar (Inactive)
              8b324ce5106c Jens Fischer
              Votes:
              55 Vote for this issue
              Watchers:
              64 Start watching this issue

                Created:
                Updated:
                Resolved: