]> git.ipfire.org Git - thirdparty/git.git/commit - branch.c
branch: rework comments for future developers
authorGlen Choo <chooglen@google.com>
Thu, 31 Mar 2022 22:41:17 +0000 (15:41 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 31 Mar 2022 22:52:51 +0000 (15:52 -0700)
commit1f888282e2914283890f61000a7589d32b4132bc
treeca2312745eb0798d99f0b0691fff399740e04b74
parentdda31145d79cc2408c248611013dfb0ad05e9636
branch: rework comments for future developers

For two cases in which we do not explicitly pass --track=<choice>
option down to the submodule--helper subprocess, we have comments
that say "we do not have to pass --track", but in fact we not just
do not have to, but it would be incorrect to pass any --track option
to the subprocess (instead, the correct behaviour is to let the
subprocess figure out what is the appropriate tracking mode to use).

Signed-off-by: Glen Choo <chooglen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
branch.c