fetching a single commit from remote repo

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git@...>
Date: Sunday, February 10, 2008 - 11:00 am

Hello.

I'm looking for a way to fetch a single snapshot, without history, from
remote git repository.

I've found how to do it with a head (clone --depth 1, or fetch --depth 1).

Is it possible to do the same with non-head and non-tagged commit, if only
sha1 name of the commit is known?
Looks like fetch and fetch-pack only take ref names :(

-
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:
fetching a single commit from remote repo, Nikita V. Youshchenko, (Sun Feb 10, 11:00 am)
Re: fetching a single commit from remote repo, Jakub Narebski, (Sun Feb 10, 12:48 pm)
Re: fetching a single commit from remote repo, Johannes Schindelin, (Sun Feb 10, 12:45 pm)
Re: fetching a single commit from remote repo, Nikita V. Youshchenko, (Sun Feb 10, 1:17 pm)
Re: fetching a single commit from remote repo, Jan Hudec, (Fri Feb 15, 7:07 pm)