mirror of
https://github.com/git/git.git
synced 2024-11-24 18:33:43 +08:00
77a946be98
Convert `[ ... ]` to use `test` and test for the existence of a regular file (`-f`) instead of any file (`-e`). Move the `then`s onto their own lines so that it conforms with the general test style. Instead of redirecting input into sed, allow it to open its own input. Use `cmp -s` instead of `diff` since we only care about whether the two files are equal and `diff` is overkill for this. Signed-off-by: Denton Liu <liu.denton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
||
---|---|---|
.. | ||
apache.conf | ||
apply-one-time-sed.sh | ||
broken-smart-http.sh | ||
error-smart-http.sh | ||
error.sh | ||
passwd | ||
ssl.cnf |