20.3.15

GIT: patch fragment without header at line

        /*
         * Make sure we don't find any unconnected patch fragments.
         * That's a sign that we didn't find a header, and that a
         * patch has become corrupted/broken up.
         */
        if (!memcmp("@@ -", line, 4)) {
            struct fragment dummy;
            if (parse_fragment_header(line, len, &dummy) < 0)
                continue;
            die(_("patch fragment without header at line %d: %.*s"),
                linenr, (int)len-1, line);
        }

No comments: