From: Ping Yin Date: Wed, 12 Mar 2008 02:08:10 GMT Subject: Re: [PATCH v5 2/5] git-submodule summary: show commit summary Message-ID: <46dff0320803111908m3f370ebbj89ee0511bb086cb0@mail.gmail.com> In-Reply-To: <1205243539-797-3-git-send-email-pkufranky@gmail.com> 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*/ -- Ping Yin