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

Crucible doesn't understand git diffs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 3.8.0
    • 2.7.11
    • None
    • FE/Crucible 2.7.11 running standalone on Debian 6.0.4.

    Description

      I've just tried uploading a patch created by git (using git show), but it looks like Crucible doesn't understand the prefixes in the diff properly. I had two directories at my top level called "a" and "b". Clearly, it's not stripping out the 'a/' and 'b/' prefixes added by git.

      Uploading a patch generated with the --no-prefix option makes it work, but it would be nice if Crucible could understand diffs containing a prefix too (it's fairly standard for patches to have prefixes in their filenames - this is why the patch tool has the -p option).

      I originally thought this was the reason that Crucible couldn't "anchor" the patch to my repository, but looks like this was CRUC-5928 instead.

      Attachments

        Issue Links

          Activity

            People

              jbronczyk Jerzy Bronczyk (Inactive)
              d88397a76b24 Chris Butler
              Votes:
              17 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 1h 53m
                  1h 53m