Re: Remote git-describe ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/24/07, Johannes Schindelin <Johannes.Schindelin@xxxxxx> wrote:
Hi,

On Wed, 24 Jan 2007, Francis Moreau wrote:

> I'm looking for a command that would give the same output than 'git
> describe' but on a remote server.
>
> Is this possible ?

It would be possible; at a high cost (especially on the remote server):
You definitely need _all_ commits between the commit you want to describe
and the tag it eventually finds, and possibly all other commits, too.

So it boils down to fetching all commit objects. It is much cheaper, and
more efficient, to just fetch the repo and do it locally.


really ? Givinig that I would use it to describe the HEAD of the kernel repo:

       $ git describe --remote=<git-server> HEAD

this would make the server parse all commits between HEAD and the
closest tag which seems to me a lot cheaper than downloading the whole
repo...
--
Francis
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]