Re: [PATCH v5 2/5] git-submodule summary: show commit summary
- From
Ping Yin <pkufranky@gmail.com>
- Date
- Mar 12, 2008, 02:30 UTC
- 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 <gitster@pobox.com> wrote:
Show 20 quoted lines
> > "Ping Yin" <pkufranky@gmail.com> writes: > > > On Tue, Mar 11, 2008 at 9:52 PM, Ping Yin <pkufranky@gmail.com> 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