diff options
author | Abhinav Gupta <mail@abhinavg.net> | 2021-11-27 16:38:20 -0800 |
---|---|---|
committer | Abhinav Gupta <mail@abhinavg.net> | 2021-11-27 16:39:09 -0800 |
commit | 557a1fdcaabd51899b9213175762ed9603409985 (patch) | |
tree | c40aaee30282b996cbb09a1acdca93fcaff53935 /remote_test.go | |
parent | 977668a25d210e8985a55ede0f2382a48b8ad2e2 (diff) | |
download | go-git-557a1fdcaabd51899b9213175762ed9603409985.tar.gz |
remote/addReachableTags: Remove guard before delete
The membership check before attempting to `delete` from the `tags` map
is unnecessary because the operation is a no-op if the item does not
already exist in the map.
Diffstat (limited to 'remote_test.go')
0 files changed, 0 insertions, 0 deletions