diff options
author | Miguel Molina <miguel@erizocosmi.co> | 2017-09-12 10:04:46 +0200 |
---|---|---|
committer | Miguel Molina <miguel@erizocosmi.co> | 2017-09-12 13:37:18 +0200 |
commit | 5bb64f6220bd3c3c985efbc148e3f7253b3d9d71 (patch) | |
tree | 96bb055b1ffd5cea41af7c0207399c44e2e246d8 /worktree_status.go | |
parent | 8cb0215282c329d299d7d1d195abae4704981ba6 (diff) | |
download | go-git-5bb64f6220bd3c3c985efbc148e3f7253b3d9d71.tar.gz |
revlist: do not revisit ancestors as long as all branches are visited
This change is the fixed version of the previous performance improvement
that was reverted due to some bogus logic.
Now it's fixed and only stops the iteration if and only if all of the
branches we've come across have been visited, being a branch a parent
commit of a commit we've visited.
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Diffstat (limited to 'worktree_status.go')
0 files changed, 0 insertions, 0 deletions