]> git.ipfire.org Git - thirdparty/git.git/commit
patch-id: call flush_current_id() only when needed
authorJunio C Hamano <gitster@pobox.com>
Tue, 30 Jul 2024 01:17:35 +0000 (18:17 -0700)
committerJunio C Hamano <gitster@pobox.com>
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 <gitster@pobox.com>
builtin/patch-id.c