Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-8388

Patch is not parsed correctly when blank characters are present at end of file paths

    XMLWordPrintable

Details

    Description

      Steps to Reproduce

      1. Create git repo
      2. Add file with name containing whitespace (e.g. "fi le.txt")
      3. Make some changes in "fi le.txt"
      4. Generate diff
      5. Add patch to review patch.diff

      Expected Results

      The output patch generated by Git has two spaces added at the end of lines 3 and 4. Crucible should be able to parse diff generated by Git.

      Actual Results

      These spaces can't be parsed correctly by Crucible.

      Workaround

      Delete whitespaces from end of lines 3 and 4.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              spacuk Sebastian Pacuk (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: