Skip to content

Commit 98750de

Browse files
author
Andrew McKnight
committed
fix(rev-list): remove unused branch parameter
1 parent 5d5a7cb commit 98750de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/GitKit/Git.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public final class Git: Shell {
3838
/// - parameter revision the name of the revision to parse. can be symbolic (`@`), human-readable (`origin/HEAD`) or a commit SHA hash
3939
case revParse(abbrevRef: Bool, revision: String)
4040

41-
case revList(branch: String, count: Bool = false, revisions: String? = nil)
41+
case revList(count: Bool = false, revisions: String? = nil)
4242
case raw(String)
4343
case lsRemote(url: String, limitToHeads: Bool = false)
4444

@@ -153,7 +153,7 @@ public final class Git: Shell {
153153
params = [Command.config.rawValue, "--add", name, value]
154154
case .readConfig(let name):
155155
params = [Command.config.rawValue, "--get", name]
156-
case .revList(_, let count, let revisions):
156+
case .revList(let count, let revisions):
157157
params = [Command.revList.rawValue]
158158
if count {
159159
params.append("--count")

0 commit comments

Comments
 (0)