git-p4: make closeStreams() idempotent
authorLuke Diamand <redacted>
Wed, 29 Jan 2020 11:12:41 +0000 (11:12 +0000)
committerJunio C Hamano <redacted>
Thu, 30 Jan 2020 20:20:57 +0000 (12:20 -0800)
commit837b3a6376804ec70b88f06c3f702a38c59196c3
tree33e714c46354fc840dd5b6620b0e25da0932c97a
parentc7a62075917b3340f908093f63f1161c44ed1475
git-p4: make closeStreams() idempotent

Ensure that we can safely call self.closeStreams() multiple times, and
can also call it even if there is no git fast-import stream at all.

Signed-off-by: Luke Diamand <redacted>
Signed-off-by: Junio C Hamano <redacted>
git-p4.py
git clone https://git.99rst.org/PROJECT