checkout: clarify comment
authorThomas Gummerer <t.gummerer@gmail.com>
Thu, 20 Dec 2018 13:48:17 +0000 (13:48 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 2 Jan 2019 23:28:05 +0000 (15:28 -0800)
commit5160fa05623dc2e9e8348d48b91f1f0bf44d369e
treee72ea534f3efc1c519fddd72ec84f7dcae38d979
parent6fdc2057225ad1ae735ecaacdcace77c8b0b6b76
checkout: clarify comment

The key point for the if statement is that read_tree_some did not
update the entry, because either it doesn't exist in tree-ish or
doesn't match the pathspec.  Clarify that.

Suggested-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c