aboutsummaryrefslogtreecommitdiff
path: root/packages/server/src/git/branch.ts
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-07-27 16:49:53 +0200
committerHampusM <hampus@hampusmat.com>2021-07-27 16:49:53 +0200
commitfa44d81b658024685e0496150d66a51f2f5fda8c (patch)
tree38ed498ee8d070245432fec7c8ca2483254a3893 /packages/server/src/git/branch.ts
parentf6a5fe05c887a658c20257d2ef6bf2780f792873 (diff)
Improved a bunch of small things in the backend
Diffstat (limited to 'packages/server/src/git/branch.ts')
-rw-r--r--packages/server/src/git/branch.ts4
1 files changed, 2 insertions, 2 deletions
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<Branch> {
@@ -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<boolean> {