Skip to content

Commit

Permalink
revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
ahrav committed Feb 5, 2024
1 parent e734557 commit e9d95b1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/gitparse/gitparse.go
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,7 @@ func isDiffLine(isStaged bool, latestState ParseState, line []byte) bool {
latestState == BinaryFileLine ||
latestState == IndexLine ||
latestState == HunkContentLine ||
latestState == ParseFailure ||
(latestState == Initial && !isStaged)) {
latestState == ParseFailure) {
if latestState == Initial && !isStaged {
return false
}
Expand Down

0 comments on commit e9d95b1

Please sign in to comment.