> + echo "* $name $sha1_src...$sha1_dst:" If it's a type change (head submodule but index blob, or the the reverse), $sha1_dst or $sha1_src will be the sha1 of the blob. It's inapprociate to be shown as if it's a commit in the submodule. May 00000000 should be shown instead of the blob sha1? However, any good way to tell user the type change info? Is it ok to add an additional line such as ""Add file sm1" in the summary and also change the summary description as follows? ------------------------------------------------------------------------------------- $ git submodule summary sm1 # Submodules modifiled: sm1 # # * sm1 354cd45...0000000(3f751e5): # <one line message for C # <one line message for B # >Add file sm1 ------------------------------------------------------------------------------------- > 1.5.4.rc2.9.gf5146-dirty > > -- Ping Yin - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html