]> git.ipfire.org Git - thirdparty/git.git/commit
shallow.h: document '{commit,rollback}_shallow_file'
authorTaylor Blau <me@ttaylorr.com>
Thu, 30 Apr 2020 19:48:54 +0000 (13:48 -0600)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Apr 2020 21:19:13 +0000 (14:19 -0700)
commita4101617688ad504d06b4cc007430c406640e934
tree7633ad624f55e2b7830a2d5e529c2dcf29f9f789
parent120ad2b0f13b60266fec9760bba3b5abfcd6fb78
shallow.h: document '{commit,rollback}_shallow_file'

When 'commit_shallow_file()' and 'rollback_shallow_file()' were
introduced, they did not have a documenting comment, when they could
have benefited from one.

Add a brief note about what these functions do, and make a special note
that they reset stat-validity checks.

Helped-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
shallow.h