git-commit-vandalism/contrib
Pat Notz e5f5050ed1 Fix contrib/hooks/post-receive-email for new duplicate branch
In the show_new_revisions function, the original code:

  git rev-parse --not --branches | grep -v $(git rev-parse $refname) |

isn't quite right since one can create a new branch and push it
without any new commits.  In that case, two refs will have the same
sha1 but both would get filtered by the 'grep'.  In the end, we'll
show ALL the history which is not what we want.  Instead, we should
list the branches by name and remove the branch being updated and THEN
pass that list through rev-parse.

Revised as suggested by Jakub Narebski and Junio C Hamano to use
git-for-each-ref instead of git-branch.  (Thanks!)

Signed-off-by: Pat Notz <pknotz@sandia.gov>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2009-02-11 10:38:53 -08:00
..
blameview
completion completion: Get rid of tabbed indentation in comments. Replace with spaces. 2009-02-08 22:07:49 -08:00
continuous
convert-objects
difftool contrib/difftool: Don't repeat merge tool candidates 2009-01-31 17:35:06 -08:00
emacs emacs: Remove the no longer maintained vc-git package. 2009-02-07 15:14:27 +01:00
examples contrib/examples/README: give an explanation of the status of these files 2009-01-12 17:47:36 -08:00
fast-import git-p4: Fix regression in p4Where method. 2008-12-09 21:39:16 -08:00
gitview
hg-to-git hg-to-git: use git init instead of git init-db 2008-07-05 23:35:12 -07:00
hooks Fix contrib/hooks/post-receive-email for new duplicate branch 2009-02-11 10:38:53 -08:00
p4import
patches
stats contrib: update packinfo.pl to not use dashed commands 2008-10-18 06:20:27 -07:00
thunderbird-patch-inline Add a helper script to send patches with Mozilla Thunderbird 2008-06-19 22:40:42 -07:00
vim contrib/vim: change URL to point to the latest syntax files 2009-01-12 23:36:03 -08:00
workdir Always show which directory is not a git repository 2008-12-21 18:46:41 -08:00
git-resurrect.sh contrib git-resurrect: find traces of a branch name and resurrect it 2009-02-04 15:07:49 -08:00
README
remotes2config.sh
rerere-train.sh Add contrib/rerere-train script 2008-09-29 09:15:41 -07:00

Contributed Software

Although these pieces are available as part of the official git
source tree, they are in somewhat different status.  The
intention is to keep interesting tools around git here, maybe
even experimental ones, to give users an easier access to them,
and to give tools wider exposure, so that they can be improved
faster.

I am not expecting to touch these myself that much.  As far as
my day-to-day operation is concerned, these subdirectories are
owned by their respective primary authors.  I am willing to help
if users of these components and the contrib/ subtree "owners"
have technical/design issues to resolve, but the initiative to
fix and/or enhance things _must_ be on the side of the subtree
owners.  IOW, I won't be actively looking for bugs and rooms for
enhancements in them as the git maintainer -- I may only do so
just as one of the users when I want to scratch my own itch.  If
you have patches to things in contrib/ area, the patch should be
first sent to the primary author, and then the primary author
should ack and forward it to me (git pull request is nicer).
This is the same way as how I have been treating gitk, and to a
lesser degree various foreign SCM interfaces, so you know the
drill.

I expect that things that start their life in the contrib/ area
to graduate out of contrib/ once they mature, either by becoming
projects on their own, or moving to the toplevel directory.  On
the other hand, I expect I'll be proposing removal of disused
and inactive ones from time to time.

If you have new things to add to this area, please first propose
it on the git mailing list, and after a list discussion proves
there are some general interests (it does not have to be a
list-wide consensus for a tool targeted to a relatively narrow
audience -- for example I do not work with projects whose
upstream is svn, so I have no use for git-svn myself, but it is
of general interest for people who need to interoperate with SVN
repositories in a way git-svn works better than git-svnimport),
submit a patch to create a subdirectory of contrib/ and put your
stuff there.

-jc