From: Thomas Rast <trast@student.ethz.ch>
To: Scott Chacon <schacon@gmail.com>
Cc: git list <git@vger.kernel.org>
Subject: Re: Does anyone use git-notes?
Date: Wed, 25 Aug 2010 20:52:37 +0200 [thread overview]
Message-ID: <201008252052.37524.trast@student.ethz.ch> (raw)
In-Reply-To: <AANLkTin=VXp2BU0vhTLUy6MpJ7spXRs1dZC1wygoN6T-@mail.gmail.com>
Scott Chacon wrote:
> I would like to write a post on how to use them, but I'm a bit
> confused as to how people actually use them on a day to day basis. I
> appears to me in trying to work out a flow for them that the lack of
> an ability to merge them makes them very difficult to use for anything
> practical. Can someone share with me how they use them and what the
> cycle is?
I run a cronjob that downloads mail from gmane and fetches git.git,
then attempts to correlate mail with commits. The results are at
git://repo.or.cz/git/trast.git notes/terse notes/full
I have previously posted about this at e.g.
http://mid.gmane.org/200902091508.11460.trast@student.ethz.ch
http://mid.gmane.org/201003042321.36240.trast@student.ethz.ch
though I should point out that it no longer tries to apply the patches
as outlined in the first post; this was simply way too expensive.
I also use it when heavily editing a patch series to tack little
reminders on my fixup patches. I have
$ git config alias.fixup
!sh -c 'r=$1; git commit -m"fixup! $(git log -1 --pretty=%s $r)"' -
so I usually do
# hack
git add -p
git fixup HEAD~3
git notes add -m 'fix foo'
which combined with notes.rewriteRef=refs/notes/* (and
notes.rewriteMode left at the default of 'concatenate') means that I
end up having a little list of reminders what changed since the last
revisions. I then simply clear them out before starting a new round.
--
Thomas Rast
trast@{inf,student}.ethz.ch
next prev parent reply other threads:[~2010-08-25 18:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-25 18:15 Does anyone use git-notes? Scott Chacon
2010-08-25 18:40 ` Joshua Jensen
2010-08-25 18:52 ` Thomas Rast [this message]
2010-08-25 22:42 ` Junio C Hamano
2010-08-25 22:43 ` Junio C Hamano
2010-08-26 7:56 ` Tor Arntsen
2010-08-26 8:09 ` Michael J Gruber
2010-08-26 13:09 ` Will Palmer
2010-08-26 8:26 ` Jon Seymour
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=201008252052.37524.trast@student.ethz.ch \
--to=trast@student.ethz.ch \
--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 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).