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

Git add does not specify path to file

    XMLWordPrintable

Details

    • Windows
    • d2160e8b4f (qt-creator/qt-creator/9.0) d2160e8b4f (qt-creator/qt-creator/master)

    Description

      Sometimes, when I try to add an existing file to the project (or resource file), it shows error that it has failed to add the file to git repo.

      This is the output. There is no path specified, so git can't find the file:

      12:58:22 Running in C:\Work\Source\fdm-qml\ui\qml_ui: C:\Program Files\Git\cmd\git.exe add --intent-to-add AuthDialog.qml
      fatal: pathspec 'AuthDialog.qml' did not match any files
      The command "C:\Program Files\Git\cmd\git.exe add --intent-to-add AuthDialog.qml" terminated with exit code 128.
      

      Attachments

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

        Activity

          People

            orgads Orgad Shaneh
            alervd Alexander Dyagilev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes