From fa44d81b658024685e0496150d66a51f2f5fda8c Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 27 Jul 2021 16:49:53 +0200 Subject: Improved a bunch of small things in the backend --- packages/server/src/git/branch.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/server/src/git/branch.ts') diff --git a/packages/server/src/git/branch.ts b/packages/server/src/git/branch.ts index 4737279..1dbb690 100644 --- a/packages/server/src/git/branch.ts +++ b/packages/server/src/git/branch.ts @@ -31,7 +31,7 @@ export class Branch extends Reference { * Lookup a branch * * @param owner - The repository which the branch is in - * @param branch - The SHA of a branch + * @param branch - The name of a branch * @returns An instance of a branch */ public static async lookup(owner: Repository, branch: string): Promise { @@ -48,7 +48,7 @@ export class Branch extends Reference { * Returns if a branch exists or not * * @param owner - The repository which the branch is in - * @param branch - The SHA of a branch + * @param branch - The name of a branch * @returns Whether or not the branch exists */ public static async lookupExists(owner: NodeGitRepository, branch: string): Promise { -- cgit v1.2.3-18-g5258