Hi!

[[[
Fix wrong modified_length for hunk notifications.

* subversion/libsvn_client/patch.c
  (maybe_send_patch_notification): See above.

Patch by: Daniel Näslund <daniel{_AT_}longitudo.com>
]]]
Index: subversion/libsvn_client/patch.c
===================================================================
--- subversion/libsvn_client/patch.c	(revision 903785)
+++ subversion/libsvn_client/patch.c	(arbetskopia)
@@ -1000,7 +1000,7 @@
           notify->hunk_original_start = hi->hunk->original_start;
           notify->hunk_original_length = hi->hunk->original_length;
           notify->hunk_modified_start = hi->hunk->modified_start;
-          notify->hunk_modified_length = hi->hunk->original_length;
+          notify->hunk_modified_length = hi->hunk->modified_length;
           notify->hunk_matched_line = hi->matched_line;
 
           (*ctx->notify_func2)(ctx->notify_baton2, notify, pool);

Reply via email to