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

Resource editor + Git: "Remove files permanently" fails for deeply nested files

    XMLWordPrintable

Details

    • Linux/X11
    • 8c1cd7539c (qt-creator/qt-creator/9.0) 8c1cd7539c (qt-creator/qt-creator/master)

    Description

      If I right-click a file under a resource node, which lies deeper than one directory level...

      ...and delete it permanently...

      ..the file entry in the .qrc file gets properly removed, and the file is deleted from disk.

      However, the removal from Git fails, because the working directory for the git command is missing one level.

      10:50:35 Running in /home/alportal/dev/tqtc-qtc-super/qtcreator/src/plugins/qtsupport/images: /usr/bin/git rm --force qteventicon.png
      fatal: pathspec 'qteventicon.png' did not match any files
      The command "/usr/bin/git rm --force qteventicon.png" terminated with exit code 128.
      

      Attachments

        Issue Links

          Activity

            People

              orgads Orgad Shaneh
              portale Alessandro Portale
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: