From: Andreas Schwab <schwab@linux-m68k•org>
To: Shawn Pearce <spearce@spearce•org>
Cc: Kirill Likhodedov <kirill.likhodedov@jetbrains•com>,
git <git@vger•kernel.org>
Subject: Re: Is it possible to list unpushed tags without accessing remote?
Date: Thu, 26 Jun 2014 18:54:22 +0200 [thread overview]
Message-ID: <874mz76281.fsf@igel.home> (raw)
In-Reply-To: <CAJo=hJvdMURuaEZA3XEWE_Uuq8QRZ+mt8K2H8XrbTuZsVX9gKQ@mail.gmail.com> (Shawn Pearce's message of "Thu, 26 Jun 2014 09:13:53 -0700")
Shawn Pearce <spearce@spearce•org> writes:
> On Thu, Jun 26, 2014 at 5:42 AM, Kirill Likhodedov
> <kirill.likhodedov@jetbrains•com> wrote:
>> is it possible to know which tags are not yet pushed to a remote via a completely local command?
>>
>> (e.g. the list of unpushed _commits_ may be received by ‘git log <upstream>..’)
>>
>> I know it is possible to execute 'git ls-remote’ or 'git push --dry-run’, but both ask the remote server.
>> I’m almost sure that the answer is “NO”, but want to receive a confirmation from Git gurus :)
>
> No. The client doesn't track what tags the remote has.
Not by default, but it is easy to configure your clone to fetch tags to
a separate namespace.
Andreas.
--
Andreas Schwab, schwab@linux-m68k•org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
next prev parent reply other threads:[~2014-06-26 16:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-26 12:42 Is it possible to list unpushed tags without accessing remote? Kirill Likhodedov
2014-06-26 16:13 ` Shawn Pearce
2014-06-26 16:54 ` Andreas Schwab [this message]
2014-06-26 19:04 ` Junio C Hamano
2014-06-26 19:20 ` Kirill Likhodedov
2014-06-27 7:41 ` Andreas Schwab
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=874mz76281.fsf@igel.home \
--to=schwab@linux-m68k$(echo .)org \
--cc=git@vger$(echo .)kernel.org \
--cc=kirill.likhodedov@jetbrains$(echo .)com \
--cc=spearce@spearce$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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