summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2011-12-27 00:30:23 +0000
committerPádraig Brady <P@draigBrady.com>2012-01-03 11:36:32 +0000
commit77ea441f79aa115f79b47d9c1fc9c0004c5c7111 (patch)
tree8228c30cde49ff735ca71b2ef9044a1ef833fe36 /scripts
parent76352c770e37de94140e0df4534462ff553c798b (diff)
downloadcoreutils-77ea441f79aa115f79b47d9c1fc9c0004c5c7111.tar.xz
realpath: a new program to print the resolved path
This program is compatible with other realpath(1) implementations, and also incorporates relpath like support, through the --relative options. The relpath support was suggested by Peng Yu, who also provided an initial implemenation of that functionality. * AUTHORS: Add my name. * NEWS: Mention the new command. * README: Likewise. * doc/coreutils.texi (realpath invocation): Add realpath info. * man/Makefile.am (realpath.1): Add dependency. * man/realpath.x: New template. * man/.gitignore: Ignore generated man page. * po/POTFILES.in: Add src/realpath.c. * src/.gitignore: Exclude realpath. * src/Makefile.am (EXTRA_PROGRAMS): Add realpath. * src/realpath.c: New file. * scripts/git-hooks/commit-msg: Add realpath to the list of prefixes. * tests/Makefile.am (TESTS): Add misc/realpath. * tests/misc/realpath: New file.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/git-hooks/commit-msg2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/git-hooks/commit-msg b/scripts/git-hooks/commit-msg
index 22f595ff2..46382ae1d 100755
--- a/scripts/git-hooks/commit-msg
+++ b/scripts/git-hooks/commit-msg
@@ -17,7 +17,7 @@ my @valid = qw(
expr factor false fmt fold groups head hostid hostname id install
join kill link ln logname ls md5sum mkdir mkfifo mknod mktemp
mv nice nl nohup nproc od paste pathchk pinky pr printenv printf
- ptx pwd readlink rm rmdir runcon seq sha1sum sha224sum sha256sum
+ ptx pwd readlink realpath rm rmdir runcon seq sha1sum sha224sum sha256sum
sha384sum sha512sum shred shuf sleep sort split stat stdbuf stty
su sum sync tac tail tee test timeout touch tr true truncate tsort
tty uname unexpand uniq unlink uptime users vdir wc who whoami yes