]> git.ipfire.org Git - thirdparty/git.git/commit
CodingGuidelines: clarify that S_release() does not reinitialize
authorJunio C Hamano <gitster@pobox.com>
Fri, 1 Aug 2025 17:06:55 +0000 (10:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Aug 2025 17:08:17 +0000 (10:08 -0700)
commit4ac3302a1a77cf833fc7085a0b6a6b49024d1bc5
treed6a78dce0e131c5f1e7def8f5e8ace566f7188e4
parent777489f9e09c8d0dd6b12f9d90de6376330577a2
CodingGuidelines: clarify that S_release() does not reinitialize

In the section for naming various API functions, the fact that
S_release() only releases the resources without preparing the
structure for immediate reuse becomes only apparent when you
readentries for S_release() and S_clear().

Clarify the description of S_release() a bit to make the entry self
sufficient.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/CodingGuidelines