summaryrefslogtreecommitdiff
path: root/git-commit-script
diff options
context:
space:
mode:
authorSimon Hausmann <shausman@trolltech.com>2007-06-07 09:37:13 +0200
committerSimon Hausmann <shausman@trolltech.com>2007-06-07 09:37:13 +0200
commit583e170706f5d69770d0de220286f8f0f73667f3 (patch)
tree9764257011f5c1f96afff586187c5099a0f577f6 /git-commit-script
parent845b42cb6c1c1e80c4283234ea2162cae809bd50 (diff)
Fix common path "calculation" from logs of multiple branches.
Need to use min instead of max for prev/cur to avoid out-of-bounds string access. Also treat "i" as index of the last match instead of a length because in case of a complete match of the two strings i was off by one. Signed-off-by: Simon Hausmann <shausman@trolltech.com>
Diffstat (limited to 'git-commit-script')
0 files changed, 0 insertions, 0 deletions