From: Ping Yin Date: Wed, 12 Mar 2008 02:30:35 GMT Subject: Re: [PATCH v5 2/5] git-submodule summary: show commit summary Message-ID: <46dff0320803111930r5ffe10b8k49a777ce3481643@mail.gmail.com> In-Reply-To: <7vwso8adxh.fsf@gitster.siamese.dyndns.org> On Wed, Mar 12, 2008 at 10:12 AM, Junio C Hamano wrote: > > "Ping Yin" writes: > > > On Tue, Mar 11, 2008 at 9:52 PM, Ping Yin wrote: > >> This patch does the hard work to show submodule commit summary. > >> > > > >> + case "$mod_dst" in > >> + 160000) > >> + sha1_dst=$(GIT_DIR="$name/.git" git rev-parse HEAD) > >> + ;; > >> + 100644) > >> + sha1_dst=$(git hash-object $name) > >> + ;; > >> + esac > > > > please s/100644/100*/ > > How would that help symbolic links? > I am not familiar with git core code, could you tell me where to find all file mod for various types? -- Ping Yin