Multiple commit text links cause commit text to be duplicated

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 1.3.1
    • Affects Version/s: 1.3.0
    • Component/s: Git
    • None

      If multiple commit links are present in a message, then the message does not get displayed correctly.

      Here is an example commit message:

      <---
      Analyser - ScanChainController crash adding pin to list that need to be updated more than once.

      Unsure how this happens but this looks to be the place where it occurs, so make more defensive.

      Review 5356
      Bug 8239
      -->

      We have two rules:
      [Bb]ug (\d+) -> http://bugs.ctg.local/bugzilla/show_bug.cgi?id=$1
      [Rr]eview (\d+) -> http://review:8080/ui#review:id=$1

      The commit text is displayed in SourceTree like this (I have enclosed the text that is made into a hyperlink with double square brackets):

      <--
      Analyser - ScanChainController crash adding pin to list that need to be updated more than once.

      Unsure how this happens but this looks to be the place where it occurs, so make more defensive.

      Review 5356
      Analyser - ScanChainController crash adding pin to list that need to be updated more than once.

      Unsure how this happens but this looks to be the place where it occurs, so make more defensive.

      [[Review 5356]]
      [[Bug 8239]]
      -->

            Assignee:
            Steve Streeting (Inactive)
            Reporter:
            John Hall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: