From: Ping Yin Date: Sat, 01 Mar 2008 11:04:12 GMT Subject: Re: [PATCH v2 2/3] git-submodule: New subcommand 'summary' (2) - hard work Message-ID: <46dff0320803010304i7c9593f0l48620c4a3518314@mail.gmail.com> In-Reply-To: <7vabli7vhr.fsf@gitster.siamese.dyndns.org> On Sat, Mar 1, 2008 at 3:29 PM, Junio C Hamano wrote: > Ping Yin writes: > > > > + check_src=$(echo $mod_src | grep 160000) > > + check_dst=$(echo $mod_dst | grep 160000) > > Huh? Do you mean "test $mod_src = ':160000'" and such? > Yeah. There are 2 places needing test this. I don't find a better way -- Ping Yin