Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sources/GitKit/Git.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public final class Git: Shell {
/// - parameter revision the name of the revision to parse. can be symbolic (`@`), human-readable (`origin/HEAD`) or a commit SHA hash
case revParse(abbrevRef: Bool, revision: String)

case revList(branch: String, count: Bool = false, revisions: String? = nil)
case revList(count: Bool = false, revisions: String? = nil)
case raw(String)
case lsRemote(url: String, limitToHeads: Bool = false)

Expand Down Expand Up @@ -153,7 +153,7 @@ public final class Git: Shell {
params = [Command.config.rawValue, "--add", name, value]
case .readConfig(let name):
params = [Command.config.rawValue, "--get", name]
case .revList(_, let count, let revisions):
case .revList(let count, let revisions):
params = [Command.revList.rawValue]
if count {
params.append("--count")
Expand Down