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

Allow to stage smaller chunks from within DiffEditor

    XMLWordPrintable

Details

    • 17668329181be771669c10baa0e322e0192fecdb (qt-creator/qt-creator/master)

    Description

      The Diff Editor already allows to stage/unstage individual chunks for commit.

      However, especially on Windows, a "chunk" may be larger than one would expect (example: two changed lines with several unchanged lines in between are considered as one chunk).

      From user side, two improvements looks reasonable:

      1. A "chunk" should be each change delimited by one unchanged line. Creator should automatically split existing chunks If the underlying VCS has merged them together.
      2. Even within a chunk, the possibility to stage individual lines should be given. This could be achived by dragging a selection over them.

      Attachments

        Issue Links

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

          Activity

            People

              aha_1980 André Hartmann
              aha_1980 André Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes