On Fri, Dec 1, 2017 at 2:50 PM, Jonathan Tan <jonathantanmy@xxxxxxxxxx> wrote: > Signed-off-by: Jonathan Tan <jonathantanmy@xxxxxxxxxx> > --- > submodule.c | 76 +++++++++++++++++++++++++++++++++++++------------------------ > submodule.h | 3 +++ This patch reads very similar to [1], which was a preparation part of the series "[RFC PATCH 0/4] git-status reports relation to superproject"; there we also need the same information about the superproject. I'll take a closer look and compare these two patches if it turns out we want to go this way long term. [1] https://public-inbox.org/git/20171108195509.7839-3-sbeller@xxxxxxxxxx/