summaryrefslogtreecommitdiff
path: root/builtin/name-rev.c
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2017-03-08 15:07:42 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-08 15:52:03 -0800
commitbf0231c66140be5194ac76a4a9f79e949c588293 (patch)
tree737d073963f47b249c5dcc4b4f2928da25313608 /builtin/name-rev.c
parentgit svn: fix authentication with 'branch' (diff)
downloadtgif-bf0231c66140be5194ac76a4a9f79e949c588293.tar.xz
rev-parse: add --show-superproject-working-tree
In some situations it is useful to know if the given repository is a submodule of another repository. Add the flag --show-superproject-working-tree to git-rev-parse to make it easy to find out if there is a superproject. When no superproject exists, the output will be empty. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/name-rev.c')
0 files changed, 0 insertions, 0 deletions