summaryrefslogtreecommitdiff
path: root/ident.c
diff options
context:
space:
mode:
authorLibravatar Ping Yin <pkufranky@gmail.com>2008-03-11 21:52:15 +0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-03-11 20:07:13 -0700
commit28f9af5d25ec04288d8c501058d83ac76c8be6f4 (patch)
tree5eda807a8e004a4f6e9122709ba876abb932a746 /ident.c
parentUpdate draft release notes for 1.5.5 (diff)
downloadtgif-28f9af5d25ec04288d8c501058d83ac76c8be6f4.tar.xz
git-submodule summary: code framework
These patches teach git-submodule a new subcommand 'summary' to show commit summary of checked out submodules between a given super project commit (defaults to HEAD) and working tree (or index, when --cached is given). This patch just introduces the framework to find submodules which have summary to show. A submodule will have summary if it falls into these cases: - type 'M': modified and checked out (1) - type 'A': added and checked out (2) - type 'D': deleted - type 'T': typechanged (blob <-> submodule) Notes: 1. There may be modified but not checked out cases. In the case of a merge conflict, even if the submodule is not checked out, there may be still a diff between index and HEAD on the submodule entry (i.e. modified). The summary will not be show for such a submodule. 2. A similar explanation applies to the added but not checked out case. Signed-off-by: Ping Yin <pkufranky@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ident.c')
0 files changed, 0 insertions, 0 deletions