Skip to content

Commit

Permalink
fix: fix beginning whitespace error
Browse files Browse the repository at this point in the history
  • Loading branch information
cardoeng committed Jun 17, 2024
1 parent 4d07031 commit d35998f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git/diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ def _handle_diff_line(lines_bytes: bytes, repo: "Repo", index: DiffIndex["Diff"]
change_type: Lit_change_type = cast(Lit_change_type, _change_type[0])
score_str = "".join(_change_type[1:])
score = int(score_str) if score_str.isdigit() else None
path = path.strip()
path = path.strip("\n")
a_path = path.encode(defenc)
b_path = path.encode(defenc)
deleted_file = False
Expand Down

0 comments on commit d35998f

Please sign in to comment.