Skip to content

Commit

Permalink
fix: Fix commit loading when only until is provided
Browse files Browse the repository at this point in the history
  • Loading branch information
Alorel committed Sep 21, 2023
1 parent 144c4c9 commit 689b6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/commit-loader.mts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default class CommitLoader implements IterableWithIterableIterator<OptRea
if (from) {
this.#ref = ` ${from}..${until || 'HEAD'}`;
} else if (until) {
this.#ref = ` ${until}^..HEAD`;
this.#ref = ` ${until}`;
} else {
this.#ref = '';
}
Expand Down

0 comments on commit 689b6e8

Please sign in to comment.