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