login
Header Space

 
 

Referring a commit-id remote repo.

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Git <git@...>
Date: Monday, October 1, 2007 - 12:16 am

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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Referring a commit-id remote repo., David Brown, (Mon Oct 1, 12:16 am)
Re: Referring a commit-id remote repo., Johannes Schindelin, (Mon Oct 1, 6:25 am)
Re: Referring a commit-id remote repo., David Brown, (Mon Oct 1, 11:24 am)
speck-geostationary