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

Git: Stash list dialog resets to top project on "Show"

    XMLWordPrintable

Details

    • 786aa4a441c8aa08ab519823a3abcc640b502845

    Description

      1. Unzip the project
      2. Do
        top/ % git init
        top/ on master % git add README top.pro
        top/ on master % git commit -m "initial top commit"
        top/ on master % cd mysub
        top/mysub/ on master % git init
        top/mysub/ on master % git add *
        top/mysub/ on master % git commit -m "initial sub commit"
        top/mysub/ on master % vim main.cpp    # Add some line
        top/mysub/ on master % git stash save  #  ... and stash it
        top/mysub/ on master % vim main.cpp    # Add another line
        top/mysub/ on master % git stash save  #  ...and stash it
        
      3. Open the attached project in Qt Creator
      4. Menu: Tools > Git > Local Repository > Stash > Stashes... - in the dialog is the stash visible for mysub with two entries, good.
      5. In the dialog: Click "Show" - a diff view will be shown in the background, but the stash list is now empty (unexpected), probably because the repository switched to the "top" repository (due to the diff view?), which does not have any stashes.

      Thus, I cannot inspect one stash after the other.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            orgads Orgad Shaneh
            kosjar Nikolai Kosjar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes