diff options
author | Christian Muehlhaeuser <muesli@gmail.com> | 2019-07-21 05:52:00 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2019-07-29 17:30:29 +0200 |
commit | d3c45dc2f0898d5a5bd48860eb74005faa6c8ec5 (patch) | |
tree | 399d022b72201fb35e25cc606b62a8cae0ca34ec /plumbing/object/commit_walker_file.go | |
parent | b294aa1351a9c1e9388d7901033596514cf5eaa9 (diff) | |
download | go-git-d3c45dc2f0898d5a5bd48860eb74005faa6c8ec5.tar.gz |
plumbing/object: simplify code
- Use append instead of ranged for loop
- Simpler bool comparison
Signed-off-by: Christian Muehlhaeuser <muesli@gmail.com>
(cherry picked from commit 3918d0e1b73f5e59a8c93e2b5ae99295cef26cf9)
Diffstat (limited to 'plumbing/object/commit_walker_file.go')
0 files changed, 0 insertions, 0 deletions