]> git.ipfire.org Git - thirdparty/git.git/commit - cache.h
check_replace_refs: fix outdated comment
authorJeff King <peff@peff.net>
Wed, 18 Jul 2018 20:44:49 +0000 (16:44 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Jul 2018 22:45:06 +0000 (15:45 -0700)
commit72470aa38ad786697118157e69174ba7ff85bfa3
tree4f8482b0b07b75434a61f6ca93f4dd313aad92c4
parentb7bd9486b055c3f967a870311e704e3bb0654e4f
check_replace_refs: fix outdated comment

Commit afc711b8e1 (rename read_replace_refs to
check_replace_refs, 2014-02-18) added a comment mentioning
that check_replace_refs is set in two ways:

  - from user intent via --no-replace-objects, etc

  - after seeing there are no replace refs to respect

Since c3c36d7de2 (replace-object: check_replace_refs is safe
in multi repo environment, 2018-04-11) the second is no
longer true. Let's drop that part of the comment.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h