From: Junio C Hamano Date: Wed, 12 Mar 2008 02:12:10 GMT Subject: Re: [PATCH v5 2/5] git-submodule summary: show commit summary Message-ID: <7vwso8adxh.fsf@gitster.siamese.dyndns.org> In-Reply-To: <46dff0320803111908m3f370ebbj89ee0511bb086cb0@mail.gmail.com> "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?