]> git.ipfire.org Git - thirdparty/git.git/commitdiff
refs: update comment.
authorHan-Wen Nienhuys <hanwen@google.com>
Tue, 7 Dec 2021 13:38:16 +0000 (13:38 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Dec 2021 21:15:19 +0000 (13:15 -0800)
REF_IS_PRUNING is right below this comment, so it clearly does not belong in
this comment. This was apparently introduced in commit 5ac95fee (Nov 5, 2017
"refs: tidy up and adjust visibility of the `ref_update` flags").

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/files-backend.c

index 4b14f30d48fd88395a8ed2dd9e2f5dd2b5a281ed..37329b98cca8efc70bb97c23a9744394eb1d86be 100644 (file)
@@ -16,8 +16,7 @@
  * This backend uses the following flags in `ref_update::flags` for
  * internal bookkeeping purposes. Their numerical values must not
  * conflict with REF_NO_DEREF, REF_FORCE_CREATE_REFLOG, REF_HAVE_NEW,
- * REF_HAVE_OLD, or REF_IS_PRUNING, which are also stored in
- * `ref_update::flags`.
+ * or REF_HAVE_OLD, which are also stored in `ref_update::flags`.
  */
 
 /*