builtin/fetch.c: comment that branch->remote_name is usable when has_merge
authorBrandon Casey <drafnel@gmail.com>
Thu, 9 Sep 2010 18:56:36 +0000 (13:56 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Sep 2010 00:15:58 +0000 (17:15 -0700)
commitf31dbdc7dad3511e1ee73cb04a032773d11231cd
tree7beabbf631ccabb1709f1d8ef8f4f382b4b19075
parenta1d558d254f84e4b816497fe30b2b8ef0b47ba71
builtin/fetch.c: comment that branch->remote_name is usable when has_merge

Save future readers the trouble of tracing code to determine that the two
uses of branch->remote_name are safe when has_merge is set, by adding a
comment explaining that it is so.

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fetch.c