git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Steffen Daode Nurpmeso <sdaoden@googlemail.com>
To: Michael J Gruber <git@drmicha.warpmail.net>
Cc: git@vger.kernel.org
Subject: Re: Jabber, question on push,pull and --tags, and no help but jabber
Date: Mon, 6 Jun 2011 23:46:39 +0200	[thread overview]
Message-ID: <20110606214639.GA38620@sherwood.local> (raw)
In-Reply-To: <4DECE4D6.9000204@drmicha.warpmail.net>

@ Michael J Gruber <git@drmicha.warpmail.net> wrote (2011-06-06 16:31+0200):
> "git tag" and "git verify-tag" call out to "gpg". That could be easily
> adapted to call out to "openssl smime", or put your S/MIME signatures in
> a note.
> 
> Cheers
> Michael

Hum.  It will indeed be possible to place a wrapper script 'gpg'
in the path on my box (and catch '--verify' - or sign otherwise).

But in the meanwhile i've found out that git(1) is heavily
developed, stale .git_vtag_ files of an 1.7.3? version are no
longer produced by 'git version 1.7.6.rc0' to which i've updated
after i've seen those.  So maybe there is hope that the hardcoded
gpg invocation will be replaced by configuration options in the
future, too?

I still don't understand the design with pull and --tags.
Because, if i do 'git log' it'll display the relationship as in

    commit fd040fb[...] (tag: refs/tags/v0.3.0, refs/remotes/origin/master)

So i'll push this commit object as part of pushing a branch, and
the tag refers to *it*.  I don't want to be impertinent though,
and it's better that explicit way than implicitely pushing some
distressing stuff.  Still i would have appreciated a note in the
docu, because it took a look at the mentioned webspace to realize
the situation.  I'll append a short diff to be able to provide
something useful.  (No attachments allowed here i guess.)

I'll try to be less tiny from the start the next time.
--
Ciao, Steffen
sdaoden(*)(gmail.com)
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments

--
diff --git a/Documentation/git-push.txt b/Documentation/git-push.txt
index 88acfcd..da4a71a 100644
--- a/Documentation/git-push.txt
+++ b/Documentation/git-push.txt
@@ -69,7 +69,7 @@ nor in any Push line of the corresponding remotes file---see below).
 
 --all::
 	Instead of naming each ref to push, specifies that all
-	refs under `refs/heads/` be pushed.
+	refs under `refs/heads/` be pushed explicitely.
 
 --mirror::
 	Instead of naming each ref to push, specifies that all
@@ -98,7 +98,7 @@ nor in any Push line of the corresponding remotes file---see below).
 --tags::
 	All refs under `refs/tags` are pushed, in
 	addition to refspecs explicitly listed on the command
-	line.
+	line.  Note that tags are not pushed automatically.
 
 --receive-pack=<git-receive-pack>::
 --exec=<git-receive-pack>::

  parent reply	other threads:[~2011-06-06 21:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-06 13:02 Jabber, question on push,pull and --tags, and no help but jabber Steffen Daode Nurpmeso
2011-06-06 14:31 ` Michael J Gruber
2011-06-06 15:21   ` Felipe Contreras
2011-06-06 21:46   ` Steffen Daode Nurpmeso [this message]
2011-06-07  5:47     ` Michael J Gruber
2011-06-07 10:24       ` Steffen Daode Nurpmeso
     [not found] ` <9215090.63086.1307370716794.JavaMail.trustmail@mail1.terreactive.ch>
2011-06-06 15:34   ` Victor Engmark
2011-06-06 17:58     ` Junio C Hamano
2011-06-07 10:48 ` [PATCH] Notes that tags need to pushed explicitely Steffen Daode Nurpmeso
2011-06-07 14:12   ` Junio C Hamano
2011-06-07 15:33     ` [PATCH] Remarks that tags need to be pushed explicitly Steffen Daode Nurpmeso
2011-06-10 20:39     ` [PATCH v2] " Steffen Daode Nurpmeso
2011-06-10 21:24       ` Junio C Hamano
2011-06-11 17:20         ` Steffen Daode Nurpmeso

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=20110606214639.GA38620@sherwood.local \
    --to=sdaoden@googlemail.com \
    --cc=git@drmicha.warpmail.net \
    --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).