Apply Patch sheet doesn't detect full git commit patches properly any more

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 1.5.8
    • Affects Version/s: 1.5.7
    • Component/s: None
    • None

      The output from git format-patch must have changed at some point, in that the first lines of the patch is now of the form:

      From <SHA> <DATE>
      From: <USER> <EMAIL>
      Date: <DATE>
      Subject: <COMMIT MSG>
      

      The existing patch analysis which checks to see if the patch is a full commit expects the 'From: <USER>' to be the first line, but it isn't any more, even if you create the patch in SourceTree. Must have been a git change since the Apply Patch analysis was written.

      We should support the new format, and keep support for the old format at the same time for people still on older versions of git.

            Assignee:
            Unassigned
            Reporter:
            Steve Streeting (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: