summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Shadura <andrew@shadura.me>2023-04-24 15:08:05 +0200
committerAndrej Shadura <andrewsh@debian.org>2023-04-24 15:19:32 +0200
commit5ae21698c0c51c43e4cdf63a788012d188afbe7a (patch)
tree3753bda7cd7f5483ec1c3393c477d0dc169fcf56
parent42f668d3c5901c8c082f66dbb954c576eee9dbb7 (diff)
Fix a typo in a variable nameHEADarchive/debian/20230226.0-2master
Gbp-Pq: Name 0001-Fix-a-typo-in-a-variable-name.patch
-rw-r--r--git_crecord/crpatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git_crecord/crpatch.py b/git_crecord/crpatch.py
index c0dbea1..1055e0e 100644
--- a/git_crecord/crpatch.py
+++ b/git_crecord/crpatch.py
@@ -622,7 +622,7 @@ class Hunk(PatchNode):
line.offset = toline
if line.diffop == HunkLine.NOEOL:
if not deletes:
- line.offset = fromtoline
+ line.offset = fromline
else:
line.offset = toline