diff options
author | Javi Fontan <jfontan@gmail.com> | 2018-09-06 19:09:02 +0200 |
---|---|---|
committer | Javi Fontan <jfontan@gmail.com> | 2018-09-06 19:13:42 +0200 |
commit | 8176f084d861891d1846a2d46bf669d0d3463ebd (patch) | |
tree | 22341a6315f5a0df6f1b0a5821b6c319da28d519 /status.go | |
parent | 9013dde72d0387a74b728ee336019728ba159d1c (diff) | |
download | go-git-8176f084d861891d1846a2d46bf669d0d3463ebd.tar.gz |
storage/filesystem: compare files using offset in test
Using equals to compare files it uses diff to do so. This can
potentially consume lots of ram. Changed the comparison to use file
offsets. If the descriptor is reused the offset is maintained.
Signed-off-by: Javi Fontan <jfontan@gmail.com>
Diffstat (limited to 'status.go')
0 files changed, 0 insertions, 0 deletions