From f7a432b0d204f9232be9a4323e27297fc48faae0 Mon Sep 17 00:00:00 2001 From: "Ariel Shaqed (Scolnicov)" Date: Sun, 25 Oct 2020 15:04:23 +0200 Subject: [PATCH] Diffs are now on references not branches See identical change to naming (but with a very long actual implementation) in 99e1bd1180. --- catalog/cataloger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalog/cataloger.go b/catalog/cataloger.go index ed027ea844f..8eca7aa3738 100644 --- a/catalog/cataloger.go +++ b/catalog/cataloger.go @@ -150,7 +150,7 @@ type Committer interface { } type Differ interface { - Diff(ctx context.Context, repository, leftBranch string, rightBranch string, params DiffParams) (Differences, bool, error) + Diff(ctx context.Context, repository, leftReference string, rightReference string, params DiffParams) (Differences, bool, error) DiffUncommitted(ctx context.Context, repository, branch string, limit int, after string) (Differences, bool, error) }