git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Ulrich HERRMANN <ulrich.herrmann@st.com>
To: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: git submodule status never says “old commits”
Date: Fri, 21 Aug 2020 12:14:58 +0000	[thread overview]
Message-ID: <VE1PR10MB3374796F04367FA5DE25F921945B0@VE1PR10MB3374.EURPRD10.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <VE1PR10MB33746C60D550BB11162F5E24945B0@VE1PR10MB3374.EURPRD10.PROD.OUTLOOK.COM>

Hi all,

I am now a user of git-submodules for quite some time. However I still haven’t figured out how to get better status/diff information. When the submodule is at a different version it always gives me "new commits" but never "old commits" even though I have checked out an older version inside the submodule. git diff gives me two different hashes which also don't give any directly readable information.  Git could check the ancestry graph to figure the relation of the two commits: child/parent, parent/child, common ancestor, etc.
Or is there a feature / command line switch of git which I am missing?

Best Regards, Ulrich

       reply	other threads:[~2020-08-21 12:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <VE1PR10MB33746C60D550BB11162F5E24945B0@VE1PR10MB3374.EURPRD10.PROD.OUTLOOK.COM>
2020-08-21 12:14 ` Ulrich HERRMANN [this message]
2020-08-22  1:54   ` git submodule status never says “old commits” brian m. carlson
2020-10-12 13:38     ` Ulrich HERRMANN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=VE1PR10MB3374796F04367FA5DE25F921945B0@VE1PR10MB3374.EURPRD10.PROD.OUTLOOK.COM \
    --to=ulrich.herrmann@st.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).