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

Deleting untracked file asks about removing it from git

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 17.0.0-beta2, Qt Creator 18.0.0-rc1
    • None
    • Ubuntu 24.04

      1. Have an untracked file in a git repository.
      2. Show that file in Creator's "File System" view:
      3. Right-click that file and select "Remove..." from the context menu.
        Creator asks whether it should really be removed. That makes sense, thanks for asking.
      4. Click "OK".
        Creator asks whether the file shall be removed from git:

        That seems pointless, because the file is not tracked by git.
        In addition, Creator warns that "This might remove the local file", but we already confirmed that.
        Regardless of whether the users clicks "Yes" or "No", the file will be removed, but after clicking "Yes", a warning message will be written to the "Version Control" view.

      Creator should not show the second dialog for untracked files.

        1. result.png
          result.png
          22 kB
        2. start.png
          start.png
          62 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            aha_1980 André Hartmann
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes