git/contrib/examples
Ævar Arnfjörð Bjarmason 3328acedc6 perl: use "use warnings" instead of -w
Change the Perl scripts to turn on lexical warnings instead of setting
the global $^W variable via the -w switch.

The -w sets warnings for all code that interpreter runs, while "use
warnings" is lexically scoped. The former is probably not what the
authors wanted.

As an auxiliary benefit it's now possible to build Git with:

    PERL_PATH='/usr/bin/env perl'

Which would previously result in failures, since "#!/usr/bin/env perl -w"
doesn't work as a shebang.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2010-09-27 12:37:56 -07:00
..
README
builtin-fetch--tool.c
git-checkout.sh
git-clean.sh
git-clone.sh
git-commit.sh examples/commit: use --abbrev for commit summary 2010-07-27 13:29:32 -07:00
git-fetch.sh Honor "tagopt = --tags" configuration option 2010-04-19 16:34:49 -07:00
git-gc.sh
git-ls-remote.sh
git-merge-ours.sh
git-merge.sh merge script: learn --[no-]rerere-autoupdate 2010-08-18 14:02:05 -07:00
git-notes.sh Builtin-ify git-notes 2010-02-13 19:36:13 -08:00
git-remote.perl
git-rerere.perl
git-reset.sh
git-resolve.sh
git-revert.sh Eliminate “Finished cherry-pick/revert” message 2010-08-15 19:12:00 -07:00
git-svnimport.perl perl: use "use warnings" instead of -w 2010-09-27 12:37:56 -07:00
git-svnimport.txt
git-tag.sh
git-verify-tag.sh

README

These are original scripted implementations, kept primarily for their
reference value to any aspiring plumbing users who want to learn how
pieces can be fit together.