Skip to content

Commit

Permalink
Fix a typo in a variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewshadura committed Apr 24, 2023
1 parent 57c6eb0 commit 8020a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git_crecord/crpatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ def countoffsets(self):
line.offset = toline
if line.diffop == HunkLine.NOEOL:
if not deletes:
line.offset = fromtoline
line.offset = fromline
else:
line.offset = toline

Expand Down

0 comments on commit 8020a3f

Please sign in to comment.