All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael J Gruber <git@drmicha.warpmail.net>
To: Scott Chacon <schacon@gmail.com>
Cc: git list <git@vger.kernel.org>
Subject: Re: Git Notes Usage
Date: Mon, 08 Mar 2010 21:59:26 +0100	[thread overview]
Message-ID: <4B95652E.6070802@drmicha.warpmail.net> (raw)
In-Reply-To: <d411cc4a1003081152j5b9f3028wa230b5e1d22a36ae@mail.gmail.com>

Scott Chacon venit, vidit, dixit 08.03.2010 20:52:
> I've been trying to write up the git-notes functionality a bit and I'm
> a tad confused about the remote workflow.  To share them, is it only
> do-able by pushing via the full refspec (ie: 'git push origin
> refs/notes/*:refs/notes/*')?  Likewise to fetch them from a server?

You can also write this into the config...
OK, seriously: I think for "typical usage" one stores others' notes in a
different place anyways, e.g. I store Thomas' list-notes in
refs/remotes/trast/notes/ so that they don't interfer with my own notes.

I don't think that teaching --notes to git push (a la --tags) with a
standard refspec would help in many cases.

> Also, if two people write notes into the same namespace at the
> same time, how does one merge them?  Is the only way to do so to
> actually checkout the notes branch into your working directory and
> merge the notes trees?

I'd say every merge needs a working directory, so, yes.

Michael

  reply	other threads:[~2010-03-08 20:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-08 19:52 Git Notes Usage Scott Chacon
2010-03-08 20:59 ` Michael J Gruber [this message]
2010-03-08 23:20   ` Junio C Hamano

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=4B95652E.6070802@drmicha.warpmail.net \
    --to=git@drmicha.warpmail.net \
    --cc=git@vger.kernel.org \
    --cc=schacon@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.