From: David Brown <git@davidb.org>
To: Git <git@vger.kernel.org>
Subject: Referring a commit-id remote repo.
Date: Sun, 30 Sep 2007 21:16:35 -0700 [thread overview]
Message-ID: <20071001041635.GA22102@old.davidb.org> (raw)
Say someone has given me a url to a git-web view of a commit:
<http://www.linux-arm.org/git?p=linux-2.6.git;a=commitdiff_plain;h=c1a54638653ef81187309624940bfa1537aa0fab>
I managed to mangle this around to a repo name that I can clone from, so I
try:
% git clone git://linux-arm.org/linux-2.6.git play
Now, from within my new directory, I try looking at this commit:
% git show c1a54638653ef81187309624940bfa1537aa0fab
fatal: bad object c1a54638653ef81187309624940bfa1537aa0fab
Ok, so they repo appears to have an object that none of their refs can
find, so I didn't pull it over with the clone.
Looking at the patch, I was able to find other commits with the same
content, so I suspect they were doing some rebasing on their repo, after
sending someone a commit ID via email.
The question I have: is there any way I can look at this particular commit
ID on the remote repo? I couldn't come up with any way to get git fetch to
retrieve it.
Thanks,
David Brown
next reply other threads:[~2007-10-01 4:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-01 4:16 David Brown [this message]
2007-10-01 10:25 ` Referring a commit-id remote repo Johannes Schindelin
2007-10-01 15:24 ` David Brown
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071001041635.GA22102@old.davidb.org \
--to=git@davidb.org \
--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.
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 NNTP newsgroup(s).