Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55719

Allow to configure the git blame command to suppress whitespace changes

XMLWordPrintable

      Sometimes the git blame command does not find the right person as there were whitespace changes (e.g. due to formatting) or code was moved. In this case it is possible to use "git blame -w -M" to suppress commits that only contain those changes and get better results

      I suggest to make the used git blame command configurable.

       

      There are two possible places:

      1. in the global configuration.
      2. in the warnings step itself.

      As the implementation in the global settings is much easier I guess it could be done there. The only reason not to have it there would be to have different settings for different parsers (e.g. if you have one parser in the job that would be sensitive to whitespace changes).

            Unassigned Unassigned
            tstein Till Steinbach
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: