Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-1376

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 1.5.8
    • 1.5.7
    • 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.

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

                Created:
                Updated:
                Resolved: