diff options
author | Filip Navara <filip.navara@gmail.com> | 2019-04-30 15:27:41 +0200 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2019-04-30 16:27:41 +0300 |
commit | 55daee8d22c964f2f7b362d0f5e6a7031bbd535d (patch) | |
tree | cc74544f8000f8de56aa607cf544d3a6977583d5 /modules/ssh | |
parent | 9b9ec7847cd9e85f21fc10cd881e39d1fef66961 (diff) | |
download | gitea-55daee8d22c964f2f7b362d0f5e6a7031bbd535d.tar.gz gitea-55daee8d22c964f2f7b362d0f5e6a7031bbd535d.zip |
Remove `seen` map from `getLastCommitForPaths` (#6807)
Ensures correctly traversing the commit graph for all path and avoids
erroneously skipping some. Also preallocate some arrays to correct size
to prevent unnecessary reallocations.
Fixes #6708.
Signed-off-by: Filip Navara <filip.navara@gmail.com>
Diffstat (limited to 'modules/ssh')
0 files changed, 0 insertions, 0 deletions