Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-13955

[REG 3.3->3.4] Untracked files not in project are not filtered in submit editor

    XMLWordPrintable

Details

    • 8b9456e41c9fd756c3a02c096a68ee127e33652e

    Description

      • Create some files that are not in the project
      • Modify a file that is part of the project
      • Git Commit - unrelated files are filtered out
      • Switch window and switch back - unrelated files appear

      VcsBaseSubmitEditor::filterUntrackedFilesOfProject() is used to find untracked files that are part of the project, in order to filter out the rest of them.

      This function uses VcsBaseSubmitEditor::currentProjectFiles(), which gets the current project by calling ProjectExplorer::ProjectTree::currentProject().

      When the submit editor is open, currentProject() returns 0, so no files are filtered out.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTCREATORBUG-13955
          # Subject Branch Project Status CR V

          Activity

            People

              hunger Tobias Hunger
              orgads Orgad Shaneh
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes