Files
git/Documentation
Tim Henigan 860f70f9f4 CodingGuidelines: do not use 'which' in shell scripts
During the code review of a recent patch, it was noted that shell scripts
must not use 'which $cmd' to check the availability of the command $cmd.
The output of the command is not machine parseable and its exit code is
not reliable across platforms.

It is better to use 'type' to accomplish this task.

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2012-02-27 15:10:23 -08:00
..
2011-08-08 09:30:12 -07:00
2012-01-10 14:46:22 -08:00
2011-11-08 16:38:14 -08:00
2011-12-22 11:27:27 -08:00
2011-08-30 12:35:51 -07:00
2011-12-12 11:52:31 -08:00
2011-09-06 11:42:12 -07:00
2011-05-19 10:55:54 -07:00
2011-03-11 10:59:16 -05:00
2012-01-06 12:44:07 -08:00
2012-02-22 17:48:01 -08:00
2010-07-05 13:39:02 -07:00
2010-07-20 16:59:17 -07:00