Skip to content

Commit 2fba784

Browse files
committed
fix: add missing line breaks for improved readability in DiffCmd.kt
1 parent 20812b0 commit 2fba784

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • src/main/kotlin/dev/kamisama/cli/commands

src/main/kotlin/dev/kamisama/cli/commands/DiffCmd.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ class DiffCmd(
5959
val id2 = resolveCommit(repo, commit2!!)
6060
showDiff(repo, id1, id2, context)
6161
}
62+
6263
// Compare one commit with HEAD
6364
commit1 != null && commit2 == null -> {
6465
val id1 = resolveCommit(repo, commit1!!)
@@ -69,6 +70,7 @@ class DiffCmd(
6970
}
7071
showDiff(repo, id1, head.id, context)
7172
}
73+
7274
// Compare HEAD with the working directory (or staged if --cached)
7375
else -> {
7476
if (cached) {

0 commit comments

Comments
 (0)