Skip to content

RFC git-status reports relation to superproject

Stefan Beller git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4remote, revision: factor out exclusive counting between two commitsremote.c revision.c revision.h+53 -390 replies
2/4submodule.c: factor start_ls_files_dot_dot out of get_superproject_working_treesubmodule.c+34 -190 replies
3/4submodule.c: get superprojects gitlink valuesubmodule.c submodule.h+33 -00 replies
4/4git-status: report reference to superprojectDocumentation/config.txt builtin/commit.c t/t7519-superproject.sh +2 more+102 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/4] git-status reports relation to superproject
  $ 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/[email protected]/
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 superproject

 Documentation/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
Signature · 1 line
2.15.0.128.g40905b34bf.dirty