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

Git: Add option to ignore whitespace changes to instant blame

    XMLWordPrintable

Details

    • All
    • e49ac10cb (master)

    Description

      https://coderwall.com/p/x8xbnq/git-don-t-blame-people-for-changing-whitespaces-or-moving-code says:

      git blame will show the author of the last commit that modified the particular line. If whitespaces were removed or that piece of code was moved around, blame will show that commit and you might blame the wrong person.

      git blame -w -M
      

      -w will ignore whitespaces and -M will detect moved or copied lines.

      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:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes