0

Exclude log filter

Andrew Hughes 2 months ago updated by Daniel Siegl 2 months ago 3

Our automation server commits a nightly build with a commit message "Nightly Build...". It would be nice to exclude these commits from the graph view using a filter either in the UI or git config file.

Log window Graph

Answer

+1
Answer

Hi,

I just did a test based on: https://github.com/danielsiegl/CommitFilterTest

And I can reproduce that this is working with 23.1.x and  with 24.1.x  - but you need to select "Message" only.

Image 900

Hi Andrew,


Are you aware of our Filtering in the Log Window?

https://docs.syntevo.com/SmartGit/Latest/Log.html

You could try "!Nighly"

Cheers
Daniel

I had assumed that wasn't possible, but after a closer look, applying the filter "!Nightly" actually seems to be broken or at least not working as I would expect.

Without filter:

Image 898

With filter:

Image 899

For the record, I also tried regex negative lookahead "(?!Nightly)" and got the same results.

+1
Answer

Hi,

I just did a test based on: https://github.com/danielsiegl/CommitFilterTest

And I can reproduce that this is working with 23.1.x and  with 24.1.x  - but you need to select "Message" only.

Image 900