Thread (7 messages) flat view 7 messages, 1 author, 2016-06-15

Re: [PATCH 2/5] git-submodule: New subcommand 'summary' (2) - hard work

From: Ping Yin <hidden>
Date: 2016-06-15 22:44:04

+                       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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help