git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Parkins <andyparkins@gmail.com>
To: git@vger.kernel.org
Cc: Jan-Benedict Glaw <jbglaw@lug-owl.de>,
	Martin Langhoff <martin.langhoff@gmail.com>,
	Claudio Scordino <cloud.of.andor@gmail.com>
Subject: Re: Mail after commit
Date: Wed, 13 Jun 2007 16:10:40 +0100	[thread overview]
Message-ID: <200706131610.42779.andyparkins@gmail.com> (raw)
In-Reply-To: <20070613142516.GE22027@lug-owl.de>

On Wednesday 2007 June 13, Jan-Benedict Glaw wrote:

> > I think most people setup gitweb, and follow its rss feed. Not exacty
> > the same, I know, but quite useful.
>
> Erm, no, not really.  Emailing the patches is *quite* useful when
> there's a dedicated review team.

As an aside - I find it better to send announce emails on git-push rather than 
git-commit.  If you send an email on git-commit, then your working repository 
becomes a whole lot less useful.

For example I often do:

 git commit -a -m "Shelve what I'm doing right now"
 git checkout -b temporary-branch HEAD^^^
 vim fix-bug-that-I-never-want-anyone-to-see
 git checkout master
 git rebase temporary-branch
 git branch -d temporary-branch
 git reset HEAD^

Obviously this only works for commits I haven't pushed yet, but it's very 
useful to be able to do - usually I need it because I missed a git-add of a 
file out of a commit and didn't notice for a while.

Once I'm happy with my local history, then I git-push to the shared repository 
and an email is generated to let other members of the team know I've done 
something - they can then git-fetch and review if they feel like it.

To me, sending an email every commit would be like sending an email every time 
I pressed "save" in the editor.



Andy
-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com

  reply	other threads:[~2007-06-13 15:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-12 15:32 Mail after commit Claudio Scordino
2007-06-12 20:35 ` Martin Langhoff
2007-06-13 14:25   ` Jan-Benedict Glaw
2007-06-13 15:10     ` Andy Parkins [this message]
2007-06-13 21:19     ` Martin Langhoff
2007-06-13 21:26       ` Jan-Benedict Glaw

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=200706131610.42779.andyparkins@gmail.com \
    --to=andyparkins@gmail.com \
    --cc=cloud.of.andor@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=jbglaw@lug-owl.de \
    --cc=martin.langhoff@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).