Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d35998f

Browse filesBrowse files
committed
fix: fix beginning whitespace error
1 parent 4d07031 commit d35998f
Copy full SHA for d35998f

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎git/diff.py

Copy file name to clipboardExpand all lines: git/diff.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ def _handle_diff_line(lines_bytes: bytes, repo: "Repo", index: DiffIndex["Diff"]
695695
change_type: Lit_change_type = cast(Lit_change_type, _change_type[0])
696696
score_str = "".join(_change_type[1:])
697697
score = int(score_str) if score_str.isdigit() else None
698-
path = path.strip()
698+
path = path.strip("\n")
699699
a_path = path.encode(defenc)
700700
b_path = path.encode(defenc)
701701
deleted_file = False

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.