1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-11-05 08:47:56 +01:00
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
..
builtin-fetch--tool.c Merge branch 'jn/help-everywhere' 2009-11-20 23:44:52 -08:00
git-checkout.sh Merge branch 'db/checkout' 2008-02-27 12:53:26 -08:00
git-clean.sh
git-clone.sh Merge branch 'db/clone-in-c' 2008-05-25 13:41:37 -07:00
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 Typo "does not exists" when git remote update remote. 2008-10-16 08:20:15 -07:00
git-rerere.perl Resurrect git-rerere to contrib/examples 2008-03-16 01:11:07 -07:00
git-reset.sh
git-resolve.sh Use 'fast-forward' all over the place 2009-10-24 23:50:28 -07:00
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 Fix typo in contrib/examples/git-svnimport.txt 2009-02-25 08:33:14 -08:00
git-tag.sh Replace uses of "git-var" with "git var" 2008-07-30 11:42:01 -07:00
git-verify-tag.sh
README contrib/examples/README: give an explanation of the status of these files 2009-01-12 17:47:36 -08:00

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.