JiraSvn bugtraq provider's commit behavior is broken after #1979
By andrew.nefed... on February 17, 2014 15:53 (imported from Google Code)
What steps will reproduce the problem?
- Have JiraSvn bugtraq provider configured for a repo.
- In the commit dialog open the provider's dialog and select some issue(s).
- Ensure some lines (with issues references and a trailing newline) are added to the commit message.
- Do the commit.
What is the expected output? What do you see instead?
Corresponding Jira issues have a comment with the original user-entered message. Instead, full commit message (including this added lines) is posted to the Jira issue.
What version of TortoiseGit and msysgit are you using? On
what operating system?
Please provide any additional information below.
The problem started to occur after fixing issue #1979 (closed).
When the provider adds its lines to the message it remembers (literally) what it has added and when committing it compares the message against this added "tail" trying to find end position of the original message.
But now the commit message started to loose trailing newlines so the providers is unable to find its own lines and assumes a user has modified the message thereafter.