git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Ralf Thielow <ralf.thielow@googlemail.com>
To: git <git@vger.kernel.org>
Subject: show refs points to a commit
Date: Fri, 8 Jun 2012 21:37:57 +0200	[thread overview]
Message-ID: <CAN0XMO+G6K0FZgu35OuuqGEp322vLpakXHXBTPpUQmoex68srA@mail.gmail.com> (raw)

After playing around with submodules, I haven't
found a builtin way to show refs pointing to a
specified commit without using UNIX pipes.

Especially when you working with submodules, it
would be very helpful to know which refs
points to this commit in order to switch from
"detached HEAD" to the branch you can (maybe)
work with.

Or did I miss something?

Thanks

Ralf

             reply	other threads:[~2012-06-08 19:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-08 19:37 Ralf Thielow [this message]
2012-06-08 19:47 ` show refs points to a commit Vincent van Ravesteijn
2012-06-08 19:51   ` Ralf Thielow
2012-06-08 20:03     ` Junio C Hamano
2012-06-08 20:10       ` Ralf Thielow

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=CAN0XMO+G6K0FZgu35OuuqGEp322vLpakXHXBTPpUQmoex68srA@mail.gmail.com \
    --to=ralf.thielow@googlemail.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).