aboutsummaryrefslogtreecommitdiffstats
path: root/Perl
diff options
context:
space:
mode:
authorSteve McIntyre <steve@einval.com>2018-05-31 10:07:09 +0100
committerSteve McIntyre <steve@einval.com>2018-05-31 10:07:09 +0100
commit4f0b0a121c47544abfbb0966e98163bf45cddfd7 (patch)
tree65627d2e74ff554ad9814130717cf89fb9fd9aa7 /Perl
parent2c43b29254dd338a75116c207b5f1dbfb7cbf8ea (diff)
Fix ordering of count_changes() properly
Diffstat (limited to 'Perl')
-rw-r--r--Perl/Local/VCS_git.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Perl/Local/VCS_git.pm b/Perl/Local/VCS_git.pm
index 410bf81c785..136d19f4153 100644
--- a/Perl/Local/VCS_git.pm
+++ b/Perl/Local/VCS_git.pm
@@ -336,7 +336,7 @@ sub count_changes
print "ERROR: commit $rev2 not found in revisions of $file\n";
return undef;
}
- return $pos2 - $pos1;
+ return $pos1 - $pos2;
}
# return the type of the input argument (file, dir, symlink, etc)

© 2014-2024 Faster IT GmbH | imprint | privacy policy