+6
-2
appview/pages/templates/repo/fragments/interdiff.html
+6
-2
appview/pages/templates/repo/fragments/interdiff.html
···-<li><a href="#file-{{ .Name }}" class="dark:hover:text-gray-300">{{ .Name }} ({{ .Status.StatusKind }})</a></li>···<section class="mt-6 border border-gray-200 dark:border-gray-700 w-full mx-auto rounded bg-white dark:bg-gray-800 drop-shadow-sm"><div id="diff-file-header" class="rounded cursor-pointer bg-white dark:bg-gray-800 flex justify-between">···
······<section class="mt-6 border border-gray-200 dark:border-gray-700 w-full mx-auto rounded bg-white dark:bg-gray-800 drop-shadow-sm"><div id="diff-file-header" class="rounded cursor-pointer bg-white dark:bg-gray-800 flex justify-between">···
+1
appview/pages/templates/repo/pulls/pull.html
+1
appview/pages/templates/repo/pulls/pull.html
+13
-5
appview/state/pull.go
+13
-5
appview/state/pull.go
···
···+s.pages.Notice(w, fmt.Sprintf("interdiff-error-%d", roundIdInt), "Failed to calculate interdiff; current patch is invalid.")+previousPatch, _, err := gitdiff.Parse(strings.NewReader(pull.Submissions[roundIdInt-1].Patch))+s.pages.Notice(w, fmt.Sprintf("interdiff-error-%d", roundIdInt), "Failed to calculate interdiff; previous patch is invalid.")
+7
-2
cmd/interdiff/main.go
+7
-2
cmd/interdiff/main.go
···
+57
-27
interdiff/interdiff.go
+57
-27
interdiff/interdiff.go
·····················
···+file.BinaryFragment, file.ReverseBinaryFragment = file.ReverseBinaryFragment, file.BinaryFragment··················