diff options
| author | Radon Rosborough <radon@intuitiveexplanations.com> | 2022-09-22 14:46:32 -0700 |
|---|---|---|
| committer | Radon Rosborough <radon@intuitiveexplanations.com> | 2022-09-22 14:46:32 -0700 |
| commit | e959e32f4849da986e72f6789437baa1d54e991f (patch) | |
| tree | 33fe479233a2dba123809e9bf7f5c34560a9e26c | |
| parent | 82709ef31f24d74e80deb1f44d7cab1687fdfcb8 (diff) | |
Use origin/main instead of main
| -rwxr-xr-x | test/formatters/apheleia-ft.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/formatters/apheleia-ft.el b/test/formatters/apheleia-ft.el index 01fad8c..cfae777 100755 --- a/test/formatters/apheleia-ft.el +++ b/test/formatters/apheleia-ft.el @@ -64,13 +64,15 @@ This means added, removed, or changed compared to main." (let ((exit-status (call-process "git" nil (list (current-buffer) stderr-file) nil - "diff" "--name-only" "main...HEAD"))) + "diff" "--name-only" "origin/main...HEAD"))) (unless (zerop exit-status) (with-temp-buffer (insert-file-contents stderr-file) (princ (buffer-string))) (error - "Failed to 'git diff --name-only main...HEAD', got exit status %S" + (concat + "Failed to 'git diff --name-only " + "origin/main...HEAD', got exit status %S") exit-status))) (split-string (buffer-string))))) |
