<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/scripts, branch v8.22</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v8.22</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v8.22'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2013-04-22T17:26:25Z</updated>
<entry>
<title>scripts: tweak URLs in autotools-install</title>
<updated>2013-04-22T17:26:25Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@fb.com</email>
</author>
<published>2012-12-05T19:11:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=090294b0e4b496137fcb3a672c979c679d0e47f8'/>
<id>urn:sha1:090294b0e4b496137fcb3a672c979c679d0e47f8</id>
<content type='text'>
* scripts/autotools-install (tarballs): Use http:// URLs rather
than ftp:// ones.  The former are more likely to work, these days.
Update URLs to point to the latest versions.
</content>
</entry>
<entry>
<title>maint: choose editor in the commit-msg git hook the same way git does</title>
<updated>2013-02-18T01:28:49Z</updated>
<author>
<name>Stefano Lattarini</name>
<email>stefano.lattarini@gmail.com</email>
</author>
<published>2013-02-15T13:39:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5bff307bdbee76adad7a7990cc23d8fd43b76252'/>
<id>urn:sha1:5bff307bdbee76adad7a7990cc23d8fd43b76252</id>
<content type='text'>
Git honours the GIT_EDITOR environment variable, the "core.editor" Git
configuration variable, and the EDITOR environment variable (in that
order, and defaulting to "vi" if none of them is set) to decide which
editor should be invoked for the user when he has to or want to edit
his commit message.

However, our commit-msg hook, when invoking an editor on behalf of the
user to allow him to fix a non-policy-complaint commit message, only
honoured the EDITOR environment variable.  To avoid potential annoying
inconsistencies, we should really use the same logic used by Git in the
selection of the editor.  Luckily, we don't have to duplicate this
logic (that would be brittle in the long term), as we can rely on the
"git var" command, designed exactly to be used in situations like this.

* scripts/git-hooks ($editor): Adjust definition.
</content>
</entry>
<entry>
<title>maint: don't reset PATH in the commit-msg git hook</title>
<updated>2013-02-18T01:27:47Z</updated>
<author>
<name>Stefano Lattarini</name>
<email>stefano.lattarini@gmail.com</email>
</author>
<published>2013-02-15T13:39:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=bf7b0e0358bc79141abdd4d974270fbc6bfcba27'/>
<id>urn:sha1:bf7b0e0358bc79141abdd4d974270fbc6bfcba27</id>
<content type='text'>
I have a custom 'editor' script in ~/bin, and a system-provided
'editor' program in /usr/bin (on Debian, this is a link set up the
"debian alternatives" subsystem).  My '$EDITOR' and '$GIT_EDITOR'
variables are set simply to 'editor' (no absolute path), which I
expect should point to my 'editor' script, since ~/bin precedes
/usr/bin in my PATH definition.  But the 'commit-msg' hook used in
coreutils unconditionally resets its PATH to '/bin:/usr/bin', which
causes it to call the "wrong" editor (the one in /usr/bin, not the
one in ~/bin) when it makes me update a botched commit message.

* scripts/git-hooks: Don't reset $ENV{PATH} to '/bin:/usr/bin',
which was only done to avoid failure when enabling Perl's taint
checking.
</content>
</entry>
<entry>
<title>maint: prevent trailing period at first line of a commit message</title>
<updated>2013-02-14T22:19:57Z</updated>
<author>
<name>Bernhard Voelker</name>
<email>mail@bernhard-voelker.de</email>
</author>
<published>2013-02-13T23:28:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c53c5e2395d206a1ab2c821eed8414270fbc07b4'/>
<id>urn:sha1:c53c5e2395d206a1ab2c821eed8414270fbc07b4</id>
<content type='text'>
* scripts/git-hooks/commit-msg (bad_first_line): Return an error
message if the first line of a commit message ends with a period.
</content>
</entry>
<entry>
<title>numfmt: a new command to format numbers</title>
<updated>2013-02-04T23:40:32Z</updated>
<author>
<name>Assaf Gordon</name>
<email>assafgordon@gmail.com</email>
</author>
<published>2012-12-06T22:30:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=8a303a8963dd255566f1625243ff19b029e0ecec'/>
<id>urn:sha1:8a303a8963dd255566f1625243ff19b029e0ecec</id>
<content type='text'>
* AUTHORS: Add my name.
* NEWS: Mention the new program.
* README: Reference the new program.
* src/numfmt.c: New file.
* src/.gitignore: Ignore the new binary.
* build-aux/gen-lists-of-programs.sh: Update.
* scripts/git-hooks/commit-msg: Allow numfmt: commit prefix.
* po/POTFILES.in: Add new c file.
* tests/misc/numfmt.pl: A new test file giving &gt;93% coverage.
* tests/local.mk: Reference the new test.
* man/.gitignore: Ignore the new man page.
* man/local.mk: Reference the new man page.
* man/numfmt.x: A new template.
* doc/coreutils.texi: Document the new command.
</content>
</entry>
<entry>
<title>scripts: autotools-install: allow user-specified make program</title>
<updated>2012-09-02T18:05:39Z</updated>
<author>
<name>Stefano Lattarini</name>
<email>stefano.lattarini@gmail.com</email>
</author>
<published>2012-08-31T13:41:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d263b0e252fa7f1878859053643b094bd56084e3'/>
<id>urn:sha1:d263b0e252fa7f1878859053643b094bd56084e3</id>
<content type='text'>
* scripts/autotools-install: Honor $MAKE.  This might be useful
on systems where the make implementation available in $PATH
by default is limited (Solaris) or broken (HP-UX).
</content>
</entry>
<entry>
<title>scripts: autotools-install: style and portability fixes</title>
<updated>2012-09-02T17:27:47Z</updated>
<author>
<name>Stefano Lattarini</name>
<email>stefano.lattarini@gmail.com</email>
</author>
<published>2012-08-31T13:41:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1952f44a741b619651c3bb3fe53dc991e4041b0d'/>
<id>urn:sha1:1952f44a741b619651c3bb3fe53dc991e4041b0d</id>
<content type='text'>
* scripts/autotools-install: Here.
</content>
</entry>
<entry>
<title>scripts: fix the Signed-off-by:-prohibiting hook to actually work</title>
<updated>2012-08-31T11:09:27Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-08-31T10:52:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=1e4300e9263f81bee969db8a7ab135436fdf9ede'/>
<id>urn:sha1:1e4300e9263f81bee969db8a7ab135436fdf9ede</id>
<content type='text'>
* scripts/git-hooks/commit-msg: Fix new test: we're searching a
multi-line buffer, so add the //m modifier.
</content>
</entry>
<entry>
<title>doc: escape double quotes in autotools-install --help</title>
<updated>2012-08-31T09:01:58Z</updated>
<author>
<name>Erik Auerswald</name>
<email>auerswal@unix-ag.uni-kl.de</email>
</author>
<published>2012-08-31T09:01:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=dc1f1f3c732f5311933f6d006ece7da3ee905ba1'/>
<id>urn:sha1:dc1f1f3c732f5311933f6d006ece7da3ee905ba1</id>
<content type='text'>
* scripts/autotools-install: Fix --help so that we actually print
the double quotes around "make check", in two places.
</content>
</entry>
<entry>
<title>scripts: add autotools-install, for those stuck with outdated tools</title>
<updated>2012-08-31T08:56:07Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2012-08-31T08:55:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c1495a1107871f451fd680d5c23b2c71af6e9971'/>
<id>urn:sha1:c1495a1107871f451fd680d5c23b2c71af6e9971</id>
<content type='text'>
* scripts/autotools-install: New script, so you can always build
from git-cloned sources, even when they require bleeding edge
m4, autoconf, automake, etc.
</content>
</entry>
</feed>
