]> git.99rst.org Git - git.git/commit
patch-id: call flush_current_id() only when needed
authorJunio C Hamano <redacted>
Tue, 30 Jul 2024 01:17:35 +0000 (18:17 -0700)
committerJunio C Hamano <redacted>
Tue, 30 Jul 2024 01:19:14 +0000 (18:19 -0700)
commitc92f3195adf61f248af5bc787def379b2db6f2e9
tree731234bd9fe7cd72d99110450add0f97eb882dad
parent4210ea6f0f2ee95370694e6a3d4fbb8ccf8c4847
patch-id: call flush_current_id() only when needed

The caller passes a flag that is used to become no-op when calling
flush_current_id().  Instead of calling something that becomes a
no-op, teach the caller not to call it in the first place.

Signed-off-by: Junio C Hamano <redacted>
builtin/patch-id.c
git clone https://git.99rst.org/PROJECT