[RFC PATCH 0/4] git-status reports relation to superproject
- From
Stefan Beller <sbeller@google.com>
- Date
- Nov 8, 2017, 19:55 UTC
- Message-ID
- <20171108195509.7839-1-sbeller@google.com>
$ git -c status.superprojectinfo status HEAD detached at v2.15-rc2 superproject is 6 commits behind HEAD 7070ce2..5e6d0fb nothing to commit, working tree clean
How cool is that?
This series side steps the questions raised in https://public-inbox.org/git/xmqq4lq6hmp2.fsf_-_@gitster.mtv.corp.google.com/ which I am also putting together albeit slowly.
This series just reports the relationship between the superprojects gitlink (if any) to HEAD. I think that is useful information in the current world of submodules.
Stefan
Stefan Beller (4):
remote, revision: factor out exclusive counting between two commits
submodule.c: factor start_ls_files_dot_dot out of
get_superproject_working_tree
submodule.c: get superprojects gitlink value
git-status: report reference to superprojectDocumentation/config.txt | 5 +++ builtin/commit.c | 2 ++ remote.c | 40 +----------------------- revision.c | 45 +++++++++++++++++++++++++++ revision.h | 7 +++++ submodule.c | 80 ++++++++++++++++++++++++++++++++++++------------ submodule.h | 6 ++++ t/t7519-superproject.sh | 57 ++++++++++++++++++++++++++++++++++ wt-status.c | 37 ++++++++++++++++++++++ wt-status.h | 1 + 10 files changed, 222 insertions(+), 58 deletions(-) create mode 100755 t/t7519-superproject.sh
-- 2.15.0.128.g40905b34bf.dirty